public class DebuggingInputBuffer extends InputBuffer
markerOffset, nMarkers, numToConsume, queue| Constructor and Description |
|---|
DebuggingInputBuffer(InputBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInputBufferListener(InputBufferListener l) |
void |
consume()
Mark another character for deferred consumption
|
void |
fill(int a)
Ensure that the input buffer is sufficiently full
|
Vector |
getInputBufferListeners() |
boolean |
isDebugMode() |
boolean |
isMarked() |
char |
LA(int i)
Get a lookahead character
|
int |
mark()
Return an integer marker that can be used to rewind the buffer to
its current state.
|
void |
removeInputBufferListener(InputBufferListener l) |
void |
rewind(int mark)
Rewind the character buffer to a marker.
|
void |
setDebugMode(boolean value) |
commit, getLAChars, getMarkedChars, reset, syncConsumepublic DebuggingInputBuffer(InputBuffer buffer)
public void addInputBufferListener(InputBufferListener l)
public void consume()
InputBufferconsume in class InputBufferpublic void fill(int a)
throws CharStreamException
InputBufferfill in class InputBufferCharStreamExceptionpublic Vector getInputBufferListeners()
public boolean isDebugMode()
public boolean isMarked()
isMarked in class InputBufferpublic char LA(int i)
throws CharStreamException
InputBufferLA in class InputBufferCharStreamExceptionpublic int mark()
InputBuffermark in class InputBufferpublic void removeInputBufferListener(InputBufferListener l)
public void rewind(int mark)
InputBufferrewind in class InputBuffermark - Marker returned previously from mark()public void setDebugMode(boolean value)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.