Class ComposeFileTokenSource

  • All Implemented Interfaces:
    org.antlr.runtime.TokenSource

    public class ComposeFileTokenSource
    extends org.eclipse.xtext.parser.antlr.AbstractIndentationTokenSource
    • Field Summary

      • Fields inherited from class org.eclipse.xtext.parser.antlr.AbstractIndentationTokenSource

        currentEnd, currentIndentation, currentOffset, indentationStack, nextOffset
      • Fields inherited from class org.eclipse.xtext.parser.antlr.AbstractSplittingTokenSource

        LEXER_RULE_PREFIX
    • Constructor Summary

      Constructors 
      Constructor Description
      ComposeFileTokenSource​(org.antlr.runtime.TokenSource delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected int getBeginTokenType()  
      protected int getEndTokenType()  
      protected boolean shouldEmitPendingEndTokens()  
      protected boolean shouldSplitTokenImpl​(org.antlr.runtime.Token token)  
      • Methods inherited from class org.eclipse.xtext.parser.antlr.AbstractIndentationTokenSource

        computeIndentation, computeIndentationRelevantCharCount, createBeginToken, createEndToken, decreaseIndentation, doSplitEofToken, doSplitToken, doSplitTokenImpl, getTabWidth, handleRemainingText, nextToken, shouldSplitToken, splitWithText
      • Methods inherited from class org.eclipse.xtext.parser.antlr.AbstractSplittingTokenSource

        createToken, getDelegate, getLexerRuleName, getRuleName, getSourceName, getTokenType, initializeTokenDefsFrom, setDelegate, splitToken
    • Constructor Detail

      • ComposeFileTokenSource

        public ComposeFileTokenSource​(org.antlr.runtime.TokenSource delegate)
    • Method Detail

      • shouldSplitTokenImpl

        protected boolean shouldSplitTokenImpl​(org.antlr.runtime.Token token)
        Specified by:
        shouldSplitTokenImpl in class org.eclipse.xtext.parser.antlr.AbstractIndentationTokenSource
      • getBeginTokenType

        protected int getBeginTokenType()
        Specified by:
        getBeginTokenType in class org.eclipse.xtext.parser.antlr.AbstractIndentationTokenSource
      • getEndTokenType

        protected int getEndTokenType()
        Specified by:
        getEndTokenType in class org.eclipse.xtext.parser.antlr.AbstractIndentationTokenSource
      • shouldEmitPendingEndTokens

        protected boolean shouldEmitPendingEndTokens()
        Overrides:
        shouldEmitPendingEndTokens in class org.eclipse.xtext.parser.antlr.AbstractIndentationTokenSource