org.jetbrains.kotlin.parsing
Class JetParserDefinition
java.lang.Object
org.jetbrains.kotlin.parsing.JetParserDefinition
- All Implemented Interfaces:
- com.intellij.lang.ParserDefinition
public class JetParserDefinition
- extends java.lang.Object
- implements com.intellij.lang.ParserDefinition
Nested classes/interfaces inherited from interface com.intellij.lang.ParserDefinition |
com.intellij.lang.ParserDefinition.SpaceRequirements |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STD_SCRIPT_SUFFIX
public static final java.lang.String STD_SCRIPT_SUFFIX
- See Also:
- Constant Field Values
STD_SCRIPT_EXT
public static final java.lang.String STD_SCRIPT_EXT
- See Also:
- Constant Field Values
JetParserDefinition
public JetParserDefinition()
getInstance
@NotNull
public static JetParserDefinition getInstance()
createLexer
@NotNull
public com.intellij.lexer.Lexer createLexer(com.intellij.openapi.project.Project project)
- Specified by:
createLexer
in interface com.intellij.lang.ParserDefinition
createParser
public com.intellij.lang.PsiParser createParser(com.intellij.openapi.project.Project project)
- Specified by:
createParser
in interface com.intellij.lang.ParserDefinition
getFileNodeType
public com.intellij.psi.tree.IFileElementType getFileNodeType()
- Specified by:
getFileNodeType
in interface com.intellij.lang.ParserDefinition
getWhitespaceTokens
@NotNull
public com.intellij.psi.tree.TokenSet getWhitespaceTokens()
- Specified by:
getWhitespaceTokens
in interface com.intellij.lang.ParserDefinition
getCommentTokens
@NotNull
public com.intellij.psi.tree.TokenSet getCommentTokens()
- Specified by:
getCommentTokens
in interface com.intellij.lang.ParserDefinition
getStringLiteralElements
@NotNull
public com.intellij.psi.tree.TokenSet getStringLiteralElements()
- Specified by:
getStringLiteralElements
in interface com.intellij.lang.ParserDefinition
createElement
@NotNull
public com.intellij.psi.PsiElement createElement(com.intellij.lang.ASTNode astNode)
- Specified by:
createElement
in interface com.intellij.lang.ParserDefinition
createFile
public com.intellij.psi.PsiFile createFile(com.intellij.psi.FileViewProvider fileViewProvider)
- Specified by:
createFile
in interface com.intellij.lang.ParserDefinition
spaceExistanceTypeBetweenTokens
public com.intellij.lang.ParserDefinition.SpaceRequirements spaceExistanceTypeBetweenTokens(com.intellij.lang.ASTNode astNode,
com.intellij.lang.ASTNode astNode1)
- Specified by:
spaceExistanceTypeBetweenTokens
in interface com.intellij.lang.ParserDefinition