public class JetParserDefinition extends java.lang.Object implements com.intellij.lang.ParserDefinition
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KTSCRIPT_FILE_SUFFIX |
Constructor and Description |
---|
JetParserDefinition() |
Modifier and Type | Method and Description |
---|---|
com.intellij.psi.PsiElement |
createElement(com.intellij.lang.ASTNode astNode) |
com.intellij.psi.PsiFile |
createFile(com.intellij.psi.FileViewProvider fileViewProvider) |
com.intellij.lexer.Lexer |
createLexer(com.intellij.openapi.project.Project project) |
com.intellij.lang.PsiParser |
createParser(com.intellij.openapi.project.Project project) |
com.intellij.psi.tree.TokenSet |
getCommentTokens() |
com.intellij.psi.tree.IFileElementType |
getFileNodeType() |
static JetParserDefinition |
getInstance() |
com.intellij.psi.tree.TokenSet |
getStringLiteralElements() |
com.intellij.psi.tree.TokenSet |
getWhitespaceTokens() |
com.intellij.lang.ParserDefinition.SpaceRequirements |
spaceExistanceTypeBetweenTokens(com.intellij.lang.ASTNode astNode,
com.intellij.lang.ASTNode astNode1) |
public static final java.lang.String KTSCRIPT_FILE_SUFFIX
public JetParserDefinition()
@NotNull public static JetParserDefinition getInstance()
@NotNull public com.intellij.lexer.Lexer createLexer(com.intellij.openapi.project.Project project)
createLexer
in interface com.intellij.lang.ParserDefinition
public com.intellij.lang.PsiParser createParser(com.intellij.openapi.project.Project project)
createParser
in interface com.intellij.lang.ParserDefinition
public com.intellij.psi.tree.IFileElementType getFileNodeType()
getFileNodeType
in interface com.intellij.lang.ParserDefinition
@NotNull public com.intellij.psi.tree.TokenSet getWhitespaceTokens()
getWhitespaceTokens
in interface com.intellij.lang.ParserDefinition
@NotNull public com.intellij.psi.tree.TokenSet getCommentTokens()
getCommentTokens
in interface com.intellij.lang.ParserDefinition
@NotNull public com.intellij.psi.tree.TokenSet getStringLiteralElements()
getStringLiteralElements
in interface com.intellij.lang.ParserDefinition
@NotNull public com.intellij.psi.PsiElement createElement(com.intellij.lang.ASTNode astNode)
createElement
in interface com.intellij.lang.ParserDefinition
public com.intellij.psi.PsiFile createFile(com.intellij.psi.FileViewProvider fileViewProvider)
createFile
in interface com.intellij.lang.ParserDefinition
public com.intellij.lang.ParserDefinition.SpaceRequirements spaceExistanceTypeBetweenTokens(com.intellij.lang.ASTNode astNode, com.intellij.lang.ASTNode astNode1)
spaceExistanceTypeBetweenTokens
in interface com.intellij.lang.ParserDefinition