Examples of HaxeTypeTag


Examples of com.intellij.plugins.haxe.lang.psi.HaxeTypeTag

      result.append(element.getName());
      result.append(" (");
      result.append(HaxePresentableUtil.getPresentableParameterList(element, specializations));
      result.append(")");
    }
    final HaxeTypeTag typeTag = PsiTreeUtil.getChildOfType(element, HaxeTypeTag.class);
    if (typeTag != null) {
      result.append(":");
      result.append(HaxePresentableUtil.buildTypeText(element, typeTag.getTypeOrAnonymous().getType(), specializations));
    }
    result.append(componentType == HaxeComponentType.FIELD ? ";" : "{\n}");
    return result.toString();
  }
View Full Code Here

Examples of com.intellij.plugins.haxe.lang.psi.HaxeTypeTag

    return new TextRange(0, 0);
  }

  public static HaxeFunctionDescription createDescription(HaxeNamedComponent namedComponent, HaxeClassResolveResult resolveResult) {
    String typeText = "";
    final HaxeTypeTag typeTag = PsiTreeUtil.getChildOfType(namedComponent, HaxeTypeTag.class);
    if (typeTag != null) {
      typeText = HaxePresentableUtil.buildTypeText(namedComponent, typeTag, resolveResult.getSpecialization());
    }
    return new HaxeFunctionDescription(namedComponent.getName(),
                                       typeText,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.