Package org.intellij.grammar
Class LightPsi
java.lang.Object
org.intellij.grammar.LightPsi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinit()static voidstatic @Nullable com.intellij.psi.PsiFilestatic @Nullable com.intellij.psi.PsiFileparseFile(@NotNull String name, @NotNull String text, @NotNull com.intellij.lang.ParserDefinition parserDefinition) static @NotNull com.intellij.psi.SyntaxTraverser<com.intellij.lang.LighterASTNode>parseLight(@NotNull String text, @NotNull com.intellij.lang.ParserDefinition parserDefinition) static @NotNull com.intellij.lang.ASTNode
-
Constructor Details
-
LightPsi
public LightPsi()
-
-
Method Details
-
init
public static void init() -
parseFile
@Nullable public static @Nullable com.intellij.psi.PsiFile parseFile(@NotNull @NotNull File file, @NotNull @NotNull com.intellij.lang.ParserDefinition parserDefinition) throws IOException - Throws:
IOException
-
parseFile
-
parseText
@NotNull public static @NotNull com.intellij.lang.ASTNode parseText(@NotNull @NotNull String text, @NotNull @NotNull com.intellij.lang.ParserDefinition parserDefinition) -
parseLight
@NotNull public static @NotNull com.intellij.psi.SyntaxTraverser<com.intellij.lang.LighterASTNode> parseLight(@NotNull @NotNull String text, @NotNull @NotNull com.intellij.lang.ParserDefinition parserDefinition) -
main
- Throws:
Throwable
-