public class ParserTokenEvent extends Event
Modifier and Type | Field and Description |
---|---|
static int |
CONSUME |
static int |
LA |
source
Constructor and Description |
---|
ParserTokenEvent(Object source) |
ParserTokenEvent(Object source,
int type,
int amount,
int value) |
Modifier and Type | Method and Description |
---|---|
int |
getAmount() |
int |
getValue() |
(package private) void |
setAmount(int amount) |
(package private) void |
setValue(int value) |
(package private) void |
setValues(int type,
int amount,
int value)
This should NOT be called from anyone other than ParserEventSupport!
|
String |
toString() |
getSource
public ParserTokenEvent(Object source)
public ParserTokenEvent(Object source, int type, int amount, int value)
public int getAmount()
public int getValue()
void setAmount(int amount)
void setValue(int value)
void setValues(int type, int amount, int value)
public String toString()
toString
in class EventObject