Class as2jTokenManager

java.lang.Object
jason.asSyntax.parser.as2jTokenManager
All Implemented Interfaces:
as2jConstants

public class as2jTokenManager extends Object implements as2jConstants
Token Manager.
  • Field Details

    • debugStream

      public PrintStream debugStream
      Debug output.
    • jjstrLiteralImages

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

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

      protected SimpleCharStream input_stream
    • curChar

      protected int curChar
  • Constructor Details

    • as2jTokenManager

      public as2jTokenManager(SimpleCharStream stream)
      Constructor.
    • as2jTokenManager

      public as2jTokenManager(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.
    • 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.