public class InputBufferEvent extends Event
Modifier and Type | Field and Description |
---|---|
(package private) char |
c |
static int |
CONSUME |
static int |
LA |
(package private) int |
lookaheadAmount |
static int |
MARK |
static int |
REWIND |
source
Constructor and Description |
---|
InputBufferEvent(Object source)
CharBufferEvent constructor comment.
|
InputBufferEvent(Object source,
int type,
char c,
int lookaheadAmount)
CharBufferEvent constructor comment.
|
Modifier and Type | Method and Description |
---|---|
char |
getChar() |
int |
getLookaheadAmount() |
(package private) void |
setChar(char c) |
(package private) void |
setLookaheadAmount(int la) |
(package private) void |
setValues(int type,
char c,
int la)
This should NOT be called from anyone other than ParserEventSupport!
|
String |
toString() |
getSource
char c
int lookaheadAmount
public static final int CONSUME
public static final int LA
public static final int MARK
public static final int REWIND
public InputBufferEvent(Object source)
source
- java.lang.Objectpublic InputBufferEvent(Object source, int type, char c, int lookaheadAmount)
source
- java.lang.Objectpublic char getChar()
public int getLookaheadAmount()
void setChar(char c)
void setLookaheadAmount(int la)
void setValues(int type, char c, int la)
public String toString()
toString
in class EventObject