Java Code Examples for com.intellij.lang.PsiBuilder.getTreeBuilt()

The following are Jave code examples for showing how to use getTreeBuilt() of the com.intellij.lang.PsiBuilder class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: reasonml-idea-plugin   File: CommonParser.java   Source Code and License Vote up 5 votes
@Override
@NotNull
public ASTNode parse(@NotNull IElementType elementType, @NotNull PsiBuilder builder) {
    //builder.setDebugMode(true);

    //System.out.println("start parsing");
    //long start = System.currentTimeMillis();

    parseLight(elementType, builder);
    ASTNode treeBuilt = builder.getTreeBuilt();

    //long end = System.currentTimeMillis();
    //System.out.println("end parsing in " + (end - start) + "ms");
    return treeBuilt;
}
 
Example 2
Project: AppleScript-IDEA   File: AppleScriptParser.java   Source Code and License Vote up 4 votes
public ASTNode parse(IElementType t, PsiBuilder b) {
  parseLight(t, b);
  return b.getTreeBuilt();
}
 
Example 3
Project: greycat-idea-plugin   File: GCMParser.java   Source Code and License Vote up 4 votes
public ASTNode parse(IElementType t, PsiBuilder b) {
  parseLight(t, b);
  return b.getTreeBuilt();
}
 
Example 4
Project: idea-php-dotenv-plugin   File: DotEnvParser.java   Source Code and License Vote up 4 votes
public ASTNode parse(IElementType t, PsiBuilder b) {
  parseLight(t, b);
  return b.getTreeBuilt();
}
 
Example 5
Project: EmojiPrefix   File: EmojiResourceParser.java   Source Code and License Vote up 4 votes
public ASTNode parse(IElementType t, PsiBuilder b) {
  parseLight(t, b);
  return b.getTreeBuilt();
}
 
Example 6
Project: intellij-postfix-templates   File: CptParser.java   Source Code and License Vote up 4 votes
public ASTNode parse(IElementType t, PsiBuilder b) {
  parseLight(t, b);
  return b.getTreeBuilt();
}
 
Example 7
Project: hybris-integration-intellij-idea-plugin   File: ImpexParser.java   Source Code and License Vote up 4 votes
public ASTNode parse(IElementType t, PsiBuilder b) {
  parseLight(t, b);
  return b.getTreeBuilt();
}
 
Example 8
Project: hybris-integration-intellij-idea-plugin   File: FlexibleSearchParser.java   Source Code and License Vote up 4 votes
public ASTNode parse(IElementType t, PsiBuilder b) {
  parseLight(t, b);
  return b.getTreeBuilt();
}
 
Example 9
Project: intellij-crystal   File: CrystalParser.java   Source Code and License Vote up 4 votes
public ASTNode parse(IElementType t, PsiBuilder b) {
  parseLight(t, b);
  return b.getTreeBuilt();
}
 
Example 10
Project: Goal-Intellij-Plugin   File: ActionSpecParser.java   Source Code and License Vote up 4 votes
public ASTNode parse(IElementType t, PsiBuilder b) {
  parseLight(t, b);
  return b.getTreeBuilt();
}
 
Example 11
Project: Goal-Intellij-Plugin   File: PrologParser.java   Source Code and License Vote up 4 votes
public ASTNode parse(IElementType t, PsiBuilder b) {
  parseLight(t, b);
  return b.getTreeBuilt();
}
 
Example 12
Project: Goal-Intellij-Plugin   File: ModuleParser.java   Source Code and License Vote up 4 votes
public ASTNode parse(IElementType t, PsiBuilder b) {
  parseLight(t, b);
  return b.getTreeBuilt();
}
 
Example 13
Project: Goal-Intellij-Plugin   File: MasParser.java   Source Code and License Vote up 4 votes
public ASTNode parse(IElementType t, PsiBuilder b) {
  parseLight(t, b);
  return b.getTreeBuilt();
}
 
Example 14
Project: Goal-Intellij-Plugin   File: TestParser.java   Source Code and License Vote up 4 votes
public ASTNode parse(IElementType t, PsiBuilder b) {
  parseLight(t, b);
  return b.getTreeBuilt();
}