Public Member Functions | |
| DebuggingInputBuffer (InputBuffer buffer) | |
| void | addInputBufferListener (InputBufferListener l) |
| void | consume () |
| void | fill (int a) throws CharStreamException |
| Vector | getInputBufferListeners () |
| boolean | isDebugMode () |
| boolean | isMarked () |
| char | LA (int i) throws CharStreamException |
| int | mark () |
| void | removeInputBufferListener (InputBufferListener l) |
| void | rewind (int mark) |
| void | setDebugMode (boolean value) |
| antlr.debug.DebuggingInputBuffer.DebuggingInputBuffer | ( | InputBuffer | buffer | ) |
| void antlr.debug.DebuggingInputBuffer.addInputBufferListener | ( | InputBufferListener | l | ) |
| void antlr.debug.DebuggingInputBuffer.consume | ( | ) |
Mark another character for deferred consumption
Reimplemented from antlr.InputBuffer.
References antlr.InputBuffer.consume(), antlr.debug.InputBufferEventSupport.fireConsume(), and antlr.InputBuffer.LA().
| void antlr.debug.DebuggingInputBuffer.fill | ( | int | amount | ) | throws CharStreamException [virtual] |
Ensure that the input buffer is sufficiently full
Implements antlr.InputBuffer.
References antlr.InputBuffer.fill().
| Vector antlr.debug.DebuggingInputBuffer.getInputBufferListeners | ( | ) |
| boolean antlr.debug.DebuggingInputBuffer.isDebugMode | ( | ) |
| boolean antlr.debug.DebuggingInputBuffer.isMarked | ( | ) |
Reimplemented from antlr.InputBuffer.
References antlr.InputBuffer.isMarked().
| char antlr.debug.DebuggingInputBuffer.LA | ( | int | i | ) | throws CharStreamException |
Get a lookahead character
Reimplemented from antlr.InputBuffer.
References antlr.debug.InputBufferEventSupport.fireLA(), and antlr.InputBuffer.LA().
| int antlr.debug.DebuggingInputBuffer.mark | ( | ) |
Return an integer marker that can be used to rewind the buffer to its current state.
Reimplemented from antlr.InputBuffer.
References antlr.debug.InputBufferEventSupport.fireMark(), and antlr.InputBuffer.mark().
| void antlr.debug.DebuggingInputBuffer.removeInputBufferListener | ( | InputBufferListener | l | ) |
| void antlr.debug.DebuggingInputBuffer.rewind | ( | int | mark | ) |
Rewind the character buffer to a marker.
| mark | Marker returned previously from mark() |
Reimplemented from antlr.InputBuffer.
References antlr.debug.InputBufferEventSupport.fireRewind(), and antlr.InputBuffer.rewind().
| void antlr.debug.DebuggingInputBuffer.setDebugMode | ( | boolean | value | ) |
1.7.0