org.jetbrains.kotlin.parsing
Class KotlinParserDefinition

java.lang.Object
  extended by org.jetbrains.kotlin.parsing.KotlinParserDefinition
All Implemented Interfaces:
com.intellij.lang.ParserDefinition

public class KotlinParserDefinition
extends java.lang.Object
implements com.intellij.lang.ParserDefinition


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.intellij.lang.ParserDefinition
com.intellij.lang.ParserDefinition.SpaceRequirements
 
Field Summary
static java.lang.String STD_SCRIPT_EXT
           
static java.lang.String STD_SCRIPT_SUFFIX
           
 
Constructor Summary
KotlinParserDefinition()
           
 
Method Summary
 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 KotlinParserDefinition 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

KotlinParserDefinition

public KotlinParserDefinition()
Method Detail

getInstance

@NotNull
public static KotlinParserDefinition 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