Package antlr

Class 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 Detail

      • 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 Detail

      • ParserSharedInputState

        public ParserSharedInputState()
    • Method Detail

      • reset

        public void reset()
      • getFilename

        public String getFilename()