Class JSON_ParserTokenManager

java.lang.Object
org.apache.jena.atlas.json.io.parserjavacc.javacc.JSON_ParserTokenManager
All Implemented Interfaces:
JSON_ParserConstants

public class JSON_ParserTokenManager extends Object implements JSON_ParserConstants
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.
  • Constructor Details

    • JSON_ParserTokenManager

      public JSON_ParserTokenManager(JavaCharStream stream)
      Constructor.
    • JSON_ParserTokenManager

      public JSON_ParserTokenManager(JavaCharStream stream, int lexState)
      Constructor.
  • Method Details

    • setDebugStream

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

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

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

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

      public Token getNextToken()
      Get the next Token.