at.dms.compiler.antlr.extra
Class InputBufferState
java.lang.Object
at.dms.compiler.antlr.extra.InputBufferState
public class InputBufferState
- extends Object
Acts as communication object between different scanners.
|
Constructor Summary |
InputBufferState(char[] buffer,
int startRead,
int endRead,
int currentPos,
int markedPos,
int pushbackPos,
boolean atEOF)
Constructs a new input buffer state object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
public char[] buffer
startRead
public int startRead
endRead
public int endRead
currentPos
public int currentPos
markedPos
public int markedPos
pushbackPos
public int pushbackPos
atEOF
public boolean atEOF
InputBufferState
public InputBufferState(char[] buffer,
int startRead,
int endRead,
int currentPos,
int markedPos,
int pushbackPos,
boolean atEOF)
- Constructs a new input buffer state object.
- Parameters:
buffer - contains the current text to be matchedstartRead - the beginning of the yytext() stringendRead - the last character in the buffercurrentPos - the the current text position in the buffermarkedPos - the position at the last accepting statepushbackPos - the position at the last state to be included in yytextatEOF - is the scanner at the EOF ?