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 intCONSUMEstatic intLA-
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 intgetAmount()intgetValue()(package private) voidsetAmount(int amount)(package private) voidsetValue(int value)(package private) voidsetValues(int type, int amount, int value)This should NOT be called from anyone other than ParserEventSupport!StringtoString()-
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:
toStringin classEventObject
-
-