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
static int BITSET
           
static int CHAR
           
static int CHAR_BITSET
           
static int CHAR_RANGE
           
private  boolean inverse
           
private  boolean matched
           
static int STRING
           
private  java.lang.Object target
           
private  java.lang.String text
           
static int TOKEN
           
private  int value
           
 
Fields inherited from class antlr.debug.GuessingEvent
 
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 antlr.debug.GuessingEvent
getGuessing, setGuessing, setValues
 
Methods inherited from class antlr.debug.Event
getType, setType, setValues
 
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
 

Field Detail

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
Constructor Detail

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)
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 class java.util.EventObject