org.apache.xerces.impl.xpath

## Class XPath20ParserTokenManager

- java.lang.Object
- - org.apache.xerces.impl.xpath.XPath20ParserTokenManager

-     public class XPath20ParserTokenManager
      extends java.lang.Object

  (Parser generated using JavaCC)
  Version:
    $Id: XPath20ParserTokenManager.java 758138 2009-03-25 04:15:15Z mrglavas $
  Author:
    Hiranya Jayathilaka, University of Moratuwa

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected char` | `curChar`
    `java.io.PrintStream` | `debugStream` Debug output.
    `protected SimpleCharStream` | `input_stream`
    `static java.lang.String[]` | `jjstrLiteralImages` Token literal values.
    `static java.lang.String[]` | `lexStateNames` Lexer state names.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `XPath20ParserTokenManager(SimpleCharStream stream)` Constructor.
    `XPath20ParserTokenManager(SimpleCharStream stream, int lexState)` Constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Token` | `getNextToken()` Get the next Token.
    `protected Token` | `jjFillToken()`
    `void` | `ReInit(SimpleCharStream stream)` Reinitialise parser.
    `void` | `ReInit(SimpleCharStream stream, int lexState)` Reinitialise parser.
    `void` | `setDebugStream(java.io.PrintStream ds)` Set debug output.
    `void` | `SwitchTo(int lexState)` Switch to specified lex state.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### debugStream

          public java.io.PrintStream debugStream

      Debug output.

    - #### jjstrLiteralImages

          public static final java.lang.String[] jjstrLiteralImages

      Token literal values.

    - #### lexStateNames

          public static final java.lang.String[] lexStateNames

      Lexer state names.

    - #### input_stream

          protected SimpleCharStream input_stream

    - #### curChar

          protected char curChar

  - ### Constructor Detail

    - #### XPath20ParserTokenManager

          public XPath20ParserTokenManager(SimpleCharStream stream)

      Constructor.

    - #### XPath20ParserTokenManager

          public XPath20ParserTokenManager(SimpleCharStream stream,
                                   int lexState)
                                    throws XPathException

      Constructor.
      Throws:
        `XPathException`

  - ### Method Detail

    - #### setDebugStream

          public void setDebugStream(java.io.PrintStream ds)

      Set debug output.

    - #### ReInit

          public void ReInit(SimpleCharStream stream)

      Reinitialise parser.

    - #### ReInit

          public void ReInit(SimpleCharStream stream,
                    int lexState)
                      throws XPathException

      Reinitialise parser.
      Throws:
        `XPathException`

    - #### SwitchTo

          public void SwitchTo(int lexState)
                        throws XPathException

      Switch to specified lex state.
      Throws:
        `XPathException`

    - #### jjFillToken

          protected Token jjFillToken()

    - #### getNextToken

          public Token getNextToken()
                             throws XPathException

      Get the next Token.
      Throws:
        `XPathException`

Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.