Package antlr

Class LexerSharedInputState

java.lang.Object
antlr.LexerSharedInputState

public class LexerSharedInputState extends 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 Details

    • column

      protected int column
    • line

      protected int line
    • tokenStartColumn

      protected int tokenStartColumn
    • tokenStartLine

      protected int tokenStartLine
    • input

      protected InputBuffer input
    • filename

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

      public int guessing
  • Constructor Details

    • LexerSharedInputState

      public LexerSharedInputState(InputBuffer inbuf)
    • LexerSharedInputState

      public LexerSharedInputState(InputStream in)
    • LexerSharedInputState

      public LexerSharedInputState(Reader in)
  • Method Details

    • getFilename

      public String getFilename()
    • getInput

      public InputBuffer getInput()
    • getLine

      public int getLine()
    • getTokenStartColumn

      public int getTokenStartColumn()
    • getTokenStartLine

      public int getTokenStartLine()
    • getColumn

      public int getColumn()
    • reset

      public void reset()