Package antlr.debug
Class ParserMatchEvent
java.lang.Object
java.util.EventObject
antlr.debug.Event
antlr.debug.GuessingEvent
antlr.debug.ParserMatchEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic intstatic intstatic intstatic intstatic intFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionParserMatchEvent(Object source) ParserMatchEvent(Object source, int type, int value, Object target, String text, int guessing, boolean inverse, boolean matched) -
Method Summary
Modifier and TypeMethodDescriptiongetText()intgetValue()booleanboolean(package private) voidsetInverse(boolean inverse) (package private) voidsetMatched(boolean matched) (package private) void(package private) void(package private) voidsetValue(int value) (package private) voidsetValues(int type, int value, Object target, String text, int guessing, boolean inverse, boolean matched) This should NOT be called from anyone other than ParserEventSupport!toString()Methods inherited from class antlr.debug.GuessingEvent
getGuessing, setGuessing, setValuesMethods inherited from class java.util.EventObject
getSource
-
Field Details
-
TOKEN
public static int TOKEN -
BITSET
public static int BITSET -
CHAR
public static int CHAR -
CHAR_BITSET
public static int CHAR_BITSET -
STRING
public static int STRING -
CHAR_RANGE
public static int CHAR_RANGE
-
-
Constructor Details
-
ParserMatchEvent
-
ParserMatchEvent
-
-
Method Details
-
getTarget
-
getText
-
getValue
public int getValue() -
isInverse
public boolean isInverse() -
isMatched
public boolean isMatched() -
setInverse
void setInverse(boolean inverse) -
setMatched
void setMatched(boolean matched) -
setTarget
-
setText
-
setValue
void setValue(int value) -
setValues
void setValues(int type, int value, Object target, String text, int guessing, boolean inverse, boolean matched) This should NOT be called from anyone other than ParserEventSupport! -
toString
- Overrides:
toStringin classEventObject
-