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 int
static int
static int
static int
static int
static int
Fields 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()
int
getValue()
boolean
boolean
(package private) void
setInverse
(boolean inverse) (package private) void
setMatched
(boolean matched) (package private) void
(package private) void
(package private) void
setValue
(int value) (package private) 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()
Methods inherited from class antlr.debug.GuessingEvent
getGuessing, setGuessing, setValues
Methods 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:
toString
in classEventObject
-