Package antlr.debug
Class ParserTokenEvent
- java.lang.Object
-
- java.util.EventObject
-
- antlr.debug.Event
-
- antlr.debug.ParserTokenEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ParserTokenEvent extends Event
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParserTokenEvent(java.lang.Object source)ParserTokenEvent(java.lang.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!java.lang.StringtoString()
-
-
-
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 java.lang.String toString()
- Overrides:
toStringin classjava.util.EventObject
-
-