antlr.debug

Class SemanticPredicateEvent


public class SemanticPredicateEvent
extends GuessingEvent

Field Summary

static int
PREDICTING
static int
VALIDATING

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

Field Details

PREDICTING

public static final int PREDICTING
Field Value:
1

VALIDATING

public static final int VALIDATING
Field Value:
0

Constructor Details

SemanticPredicateEvent

public SemanticPredicateEvent(Object source)

SemanticPredicateEvent

public SemanticPredicateEvent(Object source,
                              int type)

Method Details

getCondition

public int getCondition()

getResult

public boolean getResult()

setCondition

(package private)  void setCondition(int condition)

setResult

(package private)  void setResult(boolean result)

setValues

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

toString

public String toString()