Class TurtleJavaccTokenManager

java.lang.Object
org.apache.jena.riot.lang.extra.javacc.TurtleJavaccTokenManager
All Implemented Interfaces:
TurtleJavaccConstants

public class TurtleJavaccTokenManager extends Object implements TurtleJavaccConstants
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.
    • jjnewLexState

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

    • TurtleJavaccTokenManager

      public TurtleJavaccTokenManager(SimpleCharStream stream)
      Constructor.
    • TurtleJavaccTokenManager

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

    • setDebugStream

      public void setDebugStream(PrintStream ds)
      Set debug output.
    • 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.