antlr.debug
Class TraceEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--antlr.debug.Event
              |
              +--antlr.debug.GuessingEvent
                    |
                    +--antlr.debug.TraceEvent
All Implemented Interfaces:
java.io.Serializable

public class TraceEvent
extends GuessingEvent

See Also:
Serialized Form

Field Summary
private  int data
           
static int DONE_PARSING
           
static int ENTER
           
static int EXIT
           
private  int ruleNum
           
 
Fields inherited from class antlr.debug.GuessingEvent
 
Fields inherited from class antlr.debug.Event
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TraceEvent(java.lang.Object source)
           
TraceEvent(java.lang.Object source, int type, int ruleNum, int guessing, int data)
           
 
Method Summary
 int getData()
           
 int getRuleNum()
           
(package private)  void setData(int data)
           
(package private)  void setRuleNum(int ruleNum)
           
(package private)  void setValues(int type, int ruleNum, int guessing, int data)
          This should NOT be called from anyone other than ParserEventSupport!
 java.lang.String toString()
           
 
Methods inherited from class antlr.debug.GuessingEvent
getGuessing, setGuessing, setValues
 
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

ruleNum

private int ruleNum

data

private int data

ENTER

public static int ENTER

EXIT

public static int EXIT

DONE_PARSING

public static int DONE_PARSING
Constructor Detail

TraceEvent

public TraceEvent(java.lang.Object source)

TraceEvent

public TraceEvent(java.lang.Object source,
                  int type,
                  int ruleNum,
                  int guessing,
                  int data)
Method Detail

getData

public int getData()

getRuleNum

public int getRuleNum()

setData

void setData(int data)

setRuleNum

void setRuleNum(int ruleNum)

setValues

void setValues(int type,
               int ruleNum,
               int guessing,
               int data)
This should NOT be called from anyone other than ParserEventSupport!


toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject