Package antlr.debug
Class ParserMatchEvent
- java.lang.Object
-
- java.util.EventObject
-
- antlr.debug.Event
-
- antlr.debug.GuessingEvent
-
- antlr.debug.ParserMatchEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ParserMatchEvent extends GuessingEvent
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
BITSET
static int
CHAR
static int
CHAR_BITSET
static int
CHAR_RANGE
static int
STRING
static int
TOKEN
-
Constructor Summary
Constructors Constructor Description ParserMatchEvent(java.lang.Object source)
ParserMatchEvent(java.lang.Object source, int type, int value, java.lang.Object target, java.lang.String text, int guessing, boolean inverse, boolean matched)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getTarget()
java.lang.String
getText()
int
getValue()
boolean
isInverse()
boolean
isMatched()
(package private) void
setInverse(boolean inverse)
(package private) void
setMatched(boolean matched)
(package private) void
setTarget(java.lang.Object target)
(package private) void
setText(java.lang.String text)
(package private) void
setValue(int value)
(package private) void
setValues(int type, int value, java.lang.Object target, java.lang.String text, int guessing, boolean inverse, boolean matched)
This should NOT be called from anyone other than ParserEventSupport!java.lang.String
toString()
-
Methods inherited from class antlr.debug.GuessingEvent
getGuessing, setGuessing, setValues
-
-
-
-
Method Detail
-
getTarget
public java.lang.Object getTarget()
-
getText
public java.lang.String getText()
-
getValue
public int getValue()
-
isInverse
public boolean isInverse()
-
isMatched
public boolean isMatched()
-
setInverse
void setInverse(boolean inverse)
-
setMatched
void setMatched(boolean matched)
-
setTarget
void setTarget(java.lang.Object target)
-
setText
void setText(java.lang.String text)
-
setValue
void setValue(int value)
-
setValues
void setValues(int type, int value, java.lang.Object target, java.lang.String text, int guessing, boolean inverse, boolean matched)
This should NOT be called from anyone other than ParserEventSupport!
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.util.EventObject
-
-