antlr.debug

Class ParserMatchEvent


public class ParserMatchEvent
extends GuessingEvent

Field Summary

static int
BITSET
static int
CHAR
static int
CHAR_BITSET
static int
CHAR_RANGE
static int
STRING
static int
TOKEN

Constructor Summary

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

Method Summary

Object
getTarget()
String
getText()
int
getValue()
boolean
isInverse()
boolean
isMatched()
(package private) void
setInverse(boolean inverse)
(package private) void
setMatched(boolean matched)
(package private) void
setTarget(Object target)
(package private) void
setText(String text)
(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!
String
toString()

Methods inherited from class antlr.debug.GuessingEvent

getGuessing, setGuessing, setValues

Methods inherited from class antlr.debug.Event

getType, setType, setValues

Field Details

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 Details

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 Details

getTarget

public Object getTarget()


getText

public String getText()


getValue

public int getValue()


isInverse

public boolean isInverse()


isMatched

public boolean isMatched()


setInverse

(package private)  void setInverse(boolean inverse)


setMatched

(package private)  void setMatched(boolean matched)


setTarget

(package private)  void setTarget(Object target)


setText

(package private)  void setText(String text)


setValue

(package private)  void setValue(int value)


setValues

(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

public String toString()