Package jminusminus

Class JavaCCParserTokenManager

java.lang.Object
jminusminus.JavaCCParserTokenManager
All Implemented Interfaces:
JavaCCParserConstants

public class JavaCCParserTokenManager extends Object implements JavaCCParserConstants
Token Manager.
  • Field Details

    • debugStream

      public PrintStream debugStream
      Debug output.
    • jjbitVec0

      static final long[] jjbitVec0
    • jjstrLiteralImages

      public static final String[] jjstrLiteralImages
      Token literal values.
    • jjnextStates

      static final int[] jjnextStates
    • curLexState

      int curLexState
    • defaultLexState

      int defaultLexState
    • jjnewStateCnt

      int jjnewStateCnt
    • jjround

      int jjround
    • jjmatchedPos

      int jjmatchedPos
    • jjmatchedKind

      int jjmatchedKind
    • lexStateNames

      public static final String[] lexStateNames
      Lexer state names.
    • jjnewLexState

      public static final int[] jjnewLexState
      Lex State array.
    • jjtoToken

      static final long[] jjtoToken
    • jjtoSkip

      static final long[] jjtoSkip
    • jjtoSpecial

      static final long[] jjtoSpecial
    • jjtoMore

      static final long[] jjtoMore
    • input_stream

      protected SimpleCharStream input_stream
    • curChar

      protected int curChar
  • Constructor Details

    • JavaCCParserTokenManager

      public JavaCCParserTokenManager(SimpleCharStream stream)
      Constructor.
    • JavaCCParserTokenManager

      public JavaCCParserTokenManager(SimpleCharStream stream, int lexState)
      Constructor.
  • Method Details

    • setDebugStream

      public void setDebugStream(PrintStream ds)
      Set debug output.
    • jjFillToken

      protected Token jjFillToken()
    • getNextToken

      public Token getNextToken()
      Get the next Token.
    • SkipLexicalActions

      void SkipLexicalActions(Token matchedToken)
    • MoreLexicalActions

      void MoreLexicalActions()
    • TokenLexicalActions

      void TokenLexicalActions(Token matchedToken)
    • ReInit

      public void ReInit(SimpleCharStream stream)
      Reinitialise parser.
    • ReInit

      public void ReInit(SimpleCharStream stream, int lexState)
      Reinitialise parser.
    • SwitchTo

      public void SwitchTo(int lexState)
      Switch to specified lex state.