Package antlr

Class LexerSharedInputState


  • public class LexerSharedInputState
    extends java.lang.Object
    This object contains the data associated with an input stream of characters. Multiple lexers share a single LexerSharedInputState to lex the same input stream.
    • Field Detail

      • column

        protected int column
      • line

        protected int line
      • tokenStartColumn

        protected int tokenStartColumn
      • tokenStartLine

        protected int tokenStartLine
      • filename

        protected java.lang.String filename
        What file (if known) caused the problem?
      • guessing

        public int guessing
    • Constructor Detail

      • LexerSharedInputState

        public LexerSharedInputState​(InputBuffer inbuf)
      • LexerSharedInputState

        public LexerSharedInputState​(java.io.InputStream in)
      • LexerSharedInputState

        public LexerSharedInputState​(java.io.Reader in)
    • Method Detail

      • getFilename

        public java.lang.String getFilename()
      • getLine

        public int getLine()
      • getTokenStartColumn

        public int getTokenStartColumn()
      • getTokenStartLine

        public int getTokenStartLine()
      • getColumn

        public int getColumn()
      • reset

        public void reset()