antlr.debug
Class SemanticPredicateEvent

java.lang.Object
  extended by java.util.EventObject
      extended by antlr.debug.Event
          extended by antlr.debug.GuessingEvent
              extended by antlr.debug.SemanticPredicateEvent
All Implemented Interfaces:
Serializable

public class SemanticPredicateEvent
extends GuessingEvent

See Also:
Serialized Form

Field Summary
static int PREDICTING
           
static int VALIDATING
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SemanticPredicateEvent(Object source)
           
SemanticPredicateEvent(Object source, int type)
           
 
Method Summary
 int getCondition()
           
 boolean getResult()
           
(package private)  void setCondition(int condition)
           
(package private)  void setResult(boolean result)
           
(package private)  void setValues(int type, int condition, boolean result, int guessing)
          This should NOT be called from anyone other than ParserEventSupport!
 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

VALIDATING

public static final int VALIDATING
See Also:
Constant Field Values

PREDICTING

public static final int PREDICTING
See Also:
Constant Field Values
Constructor Detail

SemanticPredicateEvent

public SemanticPredicateEvent(Object source)

SemanticPredicateEvent

public SemanticPredicateEvent(Object source,
                              int type)
Method Detail

getCondition

public int getCondition()

getResult

public boolean getResult()

setCondition

void setCondition(int condition)

setResult

void setResult(boolean result)

setValues

void setValues(int type,
               int condition,
               boolean result,
               int guessing)
This should NOT be called from anyone other than ParserEventSupport!


toString

public String toString()
Overrides:
toString in class EventObject