Public Member Functions | |
LexerSharedInputState (InputBuffer inbuf) | |
LexerSharedInputState (InputStream in) | |
LexerSharedInputState (Reader in) | |
String | getFilename () |
InputBuffer | getInput () |
int | getLine () |
int | getTokenStartColumn () |
int | getTokenStartLine () |
int | getColumn () |
void | reset () |
Public Attributes | |
int | guessing = 0 |
Protected Attributes | |
int | column = 1 |
int | line = 1 |
int | tokenStartColumn = 1 |
int | tokenStartLine = 1 |
InputBuffer | input |
String | filename |
This object contains the data associated with an input stream of characters. Multiple lexers share a single LexerSharedInputState to lex the same input stream.
antlr.LexerSharedInputState.LexerSharedInputState | ( | InputBuffer | inbuf | ) |
References antlr.LexerSharedInputState.input.
antlr.LexerSharedInputState.LexerSharedInputState | ( | InputStream | in | ) |
antlr.LexerSharedInputState.LexerSharedInputState | ( | Reader | in | ) |
int antlr.LexerSharedInputState.getColumn | ( | ) |
References antlr.LexerSharedInputState.column.
String antlr.LexerSharedInputState.getFilename | ( | ) |
References antlr.LexerSharedInputState.filename.
InputBuffer antlr.LexerSharedInputState.getInput | ( | ) |
References antlr.LexerSharedInputState.input.
int antlr.LexerSharedInputState.getLine | ( | ) |
References antlr.LexerSharedInputState.line.
int antlr.LexerSharedInputState.getTokenStartColumn | ( | ) |
References antlr.LexerSharedInputState.tokenStartColumn.
int antlr.LexerSharedInputState.getTokenStartLine | ( | ) |
References antlr.LexerSharedInputState.tokenStartLine.
void antlr.LexerSharedInputState.reset | ( | ) |
References antlr.LexerSharedInputState.column, antlr.LexerSharedInputState.filename, antlr.LexerSharedInputState.guessing, antlr.LexerSharedInputState.input, antlr.LexerSharedInputState.line, antlr.InputBuffer.reset(), antlr.LexerSharedInputState.tokenStartColumn, and antlr.LexerSharedInputState.tokenStartLine.
int antlr.LexerSharedInputState.column = 1 [protected] |
String antlr.LexerSharedInputState.filename [protected] |
What file (if known) caused the problem?
Referenced by antlr.LexerSharedInputState.getFilename(), antlr.CharScanner.getFilename(), antlr.LexerSharedInputState.reset(), and antlr.CharScanner.setFilename().
Referenced by antlr.CharScanner.consume(), antlr.debug.DebuggingCharScanner.fireEnterRule(), antlr.debug.DebuggingCharScanner.fireExitRule(), antlr.debug.DebuggingCharScanner.fireSemanticPredicateEvaluated(), antlr.debug.DebuggingCharScanner.fireSyntacticPredicateFailed(), antlr.debug.DebuggingCharScanner.fireSyntacticPredicateStarted(), antlr.debug.DebuggingCharScanner.fireSyntacticPredicateSucceeded(), antlr.debug.DebuggingCharScanner.match(), antlr.debug.DebuggingCharScanner.matchNot(), antlr.debug.DebuggingCharScanner.matchRange(), and antlr.LexerSharedInputState.reset().
InputBuffer antlr.LexerSharedInputState.input [protected] |
Referenced by antlr.CharScanner.commit(), antlr.CharScanner.consume(), antlr.LexerSharedInputState.getInput(), antlr.CharScanner.getInputBuffer(), antlr.CharScanner.LA(), antlr.LexerSharedInputState.LexerSharedInputState(), antlr.CharScanner.mark(), antlr.LexerSharedInputState.reset(), and antlr.CharScanner.rewind().
int antlr.LexerSharedInputState.line = 1 [protected] |
int antlr.LexerSharedInputState.tokenStartColumn = 1 [protected] |
int antlr.LexerSharedInputState.tokenStartLine = 1 [protected] |