Class LivePreviewParserDefinition

java.lang.Object
org.intellij.grammar.livePreview.LivePreviewParserDefinition
All Implemented Interfaces:
com.intellij.lang.ParserDefinition

public class LivePreviewParserDefinition extends 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

    Fields
    Modifier and Type
    Field
    Description
    static final com.intellij.psi.tree.IElementType
     
    static final com.intellij.psi.tree.IElementType
     
    static final com.intellij.psi.tree.IElementType
     
    static final com.intellij.psi.tree.IElementType
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull com.intellij.psi.PsiElement
    createElement(com.intellij.lang.ASTNode node)
     
    @NotNull com.intellij.psi.PsiFile
    createFile(@NotNull com.intellij.psi.FileViewProvider viewProvider)
     
    @NotNull com.intellij.lexer.Lexer
    createLexer(com.intellij.openapi.project.Project project)
     
    @NotNull com.intellij.lang.PsiParser
    createParser(com.intellij.openapi.project.Project project)
     
    @NotNull com.intellij.psi.tree.TokenSet
     
    @NotNull com.intellij.psi.tree.IFileElementType
     
    @NotNull com.intellij.psi.tree.TokenSet
     
    @NotNull com.intellij.psi.tree.TokenSet
     
    @NotNull com.intellij.lang.ParserDefinition.SpaceRequirements
    spaceExistenceTypeBetweenTokens(com.intellij.lang.ASTNode left, com.intellij.lang.ASTNode right)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.intellij.lang.ParserDefinition

    reparseSpace, spaceExistanceTypeBetweenTokens
  • Field Details

    • COMMENT

      public static final com.intellij.psi.tree.IElementType COMMENT
    • STRING

      public static final com.intellij.psi.tree.IElementType STRING
    • NUMBER

      public static final com.intellij.psi.tree.IElementType NUMBER
    • KEYWORD

      public static final com.intellij.psi.tree.IElementType KEYWORD
  • Constructor Details

    • LivePreviewParserDefinition

      public LivePreviewParserDefinition(LivePreviewLanguage language)
  • Method Details

    • createLexer

      @NotNull public @NotNull com.intellij.lexer.Lexer createLexer(com.intellij.openapi.project.Project project)
      Specified by:
      createLexer in interface com.intellij.lang.ParserDefinition
    • createParser

      @NotNull public @NotNull com.intellij.lang.PsiParser createParser(com.intellij.openapi.project.Project project)
      Specified by:
      createParser in interface com.intellij.lang.ParserDefinition
    • getFileNodeType

      @NotNull public @NotNull com.intellij.psi.tree.IFileElementType getFileNodeType()
      Specified by:
      getFileNodeType in interface com.intellij.lang.ParserDefinition
    • getWhitespaceTokens

      @NotNull public @NotNull com.intellij.psi.tree.TokenSet getWhitespaceTokens()
      Specified by:
      getWhitespaceTokens in interface com.intellij.lang.ParserDefinition
    • getCommentTokens

      @NotNull public @NotNull com.intellij.psi.tree.TokenSet getCommentTokens()
      Specified by:
      getCommentTokens in interface com.intellij.lang.ParserDefinition
    • getStringLiteralElements

      @NotNull public @NotNull com.intellij.psi.tree.TokenSet getStringLiteralElements()
      Specified by:
      getStringLiteralElements in interface com.intellij.lang.ParserDefinition
    • createElement

      @NotNull public @NotNull com.intellij.psi.PsiElement createElement(com.intellij.lang.ASTNode node)
      Specified by:
      createElement in interface com.intellij.lang.ParserDefinition
    • createFile

      @NotNull public @NotNull com.intellij.psi.PsiFile createFile(@NotNull @NotNull com.intellij.psi.FileViewProvider viewProvider)
      Specified by:
      createFile in interface com.intellij.lang.ParserDefinition
    • spaceExistenceTypeBetweenTokens

      @NotNull public @NotNull com.intellij.lang.ParserDefinition.SpaceRequirements spaceExistenceTypeBetweenTokens(com.intellij.lang.ASTNode left, com.intellij.lang.ASTNode right)
      Specified by:
      spaceExistenceTypeBetweenTokens in interface com.intellij.lang.ParserDefinition