Package antlr.debug
Class ParserTokenEvent
- java.lang.Object
-
- java.util.EventObject
-
- antlr.debug.Event
-
- antlr.debug.ParserTokenEvent
-
- All Implemented Interfaces:
Serializable
public class ParserTokenEvent extends Event
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
CONSUME
static int
LA
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ParserTokenEvent(Object source)
ParserTokenEvent(Object source, int type, int amount, int value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Method Detail
-
getAmount
public int getAmount()
-
getValue
public int getValue()
-
setAmount
void setAmount(int amount)
-
setValue
void setValue(int value)
-
setValues
void setValues(int type, int amount, int value)
This should NOT be called from anyone other than ParserEventSupport!
-
toString
public String toString()
- Overrides:
toString
in classEventObject
-
-