antlr.debug

Class ParserMatchEvent

public class ParserMatchEvent extends GuessingEvent

Field Summary
static intBITSET
static intCHAR
static intCHAR_BITSET
static intCHAR_RANGE
static intSTRING
static intTOKEN
Constructor Summary
ParserMatchEvent(Object source)
ParserMatchEvent(Object source, int type, int value, Object target, String text, int guessing, boolean inverse, boolean matched)
Method Summary
ObjectgetTarget()
StringgetText()
intgetValue()
booleanisInverse()
booleanisMatched()
voidsetInverse(boolean inverse)
voidsetMatched(boolean matched)
voidsetTarget(Object target)
voidsetText(String text)
voidsetValue(int value)
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!
StringtoString()

Field Detail

BITSET

public static int BITSET

CHAR

public static int CHAR

CHAR_BITSET

public static int CHAR_BITSET

CHAR_RANGE

public static int CHAR_RANGE

STRING

public static int STRING

TOKEN

public static int TOKEN

Constructor Detail

ParserMatchEvent

public ParserMatchEvent(Object source)

ParserMatchEvent

public ParserMatchEvent(Object source, int type, int value, Object target, String text, int guessing, boolean inverse, boolean matched)

Method Detail

getTarget

public Object getTarget()

getText

public 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(Object target)

setText

void setText(String text)

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

public String toString()