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

Field Summary
private  int amount
           
static int CONSUME
           
static int LA
           
private  int value
           
 
Fields inherited from class antlr.debug.Event
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ParserTokenEvent(java.lang.Object source)
           
ParserTokenEvent(java.lang.Object source, int type, int amount, int value)
           
 
Method Summary
 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!
 java.lang.String toString()
           
 
Methods inherited from class antlr.debug.Event
getType, setType, setValues
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

private int value

amount

private int amount

LA

public static int LA

CONSUME

public static int CONSUME
Constructor Detail

ParserTokenEvent

public ParserTokenEvent(java.lang.Object source)

ParserTokenEvent

public ParserTokenEvent(java.lang.Object source,
                        int type,
                        int amount,
                        int value)
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:
toString in class java.util.EventObject