Package antlr

Class ParserSharedInputState

java.lang.Object
antlr.ParserSharedInputState

public class ParserSharedInputState extends Object
This object contains the data associated with an input stream of tokens. Multiple parsers share a single ParserSharedInputState to parse the same stream of tokens.
  • Field Details

    • input

      protected TokenBuffer input
      Where to get token objects
    • guessing

      public int guessing
      Are we guessing (guessing>0)?
    • filename

      protected String filename
      What file (if known) caused the problem?
  • Constructor Details

    • ParserSharedInputState

      public ParserSharedInputState()
  • Method Details

    • reset

      public void reset()
    • getFilename

      public String getFilename()
    • getInput

      public TokenBuffer getInput()