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 intBITSETstatic intCHARstatic intCHAR_BITSETstatic intCHAR_RANGEstatic intSTRINGstatic intTOKEN
-
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.ObjectgetTarget()java.lang.StringgetText()intgetValue()booleanisInverse()booleanisMatched()(package private) voidsetInverse(boolean inverse)(package private) voidsetMatched(boolean matched)(package private) voidsetTarget(java.lang.Object target)(package private) voidsetText(java.lang.String text)(package private) voidsetValue(int value)(package private) voidsetValues(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.StringtoString()-
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:
toStringin classjava.util.EventObject
-
-