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
Fields inherited from class antlr.debug.Event |
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
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 |
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 java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
inverse
private boolean inverse
matched
private boolean matched
target
private java.lang.Object target
value
private int value
text
private java.lang.String text
ParserMatchEvent
public ParserMatchEvent(java.lang.Object source)
ParserMatchEvent
public ParserMatchEvent(java.lang.Object source,
int type,
int value,
java.lang.Object target,
java.lang.String text,
int guessing,
boolean inverse,
boolean matched)
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 class java.util.EventObject