antlr.debug
Class ParserMatchEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--antlr.debug.Event
              |
              +--antlr.debug.GuessingEvent
                    |
                    +--antlr.debug.ParserMatchEvent
All Implemented Interfaces:
Serializable

public class ParserMatchEvent
extends GuessingEvent

Untamed:

See Also:
Serialized Form

Field Summary
static int BITSET
          Enabled:
static int CHAR
          Enabled:
static int CHAR_BITSET
          Enabled:
static int CHAR_RANGE
          Enabled:
private  boolean inverse
           
private  boolean matched
           
static int STRING
          Enabled:
private  Object target
           
private  String text
           
static int TOKEN
          Enabled:
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(Object source)
          Enabled:
ParserMatchEvent(Object source, int type, int value, Object target, String text, int guessing, boolean inverse, boolean matched)
          Enabled:
 
Method Summary
 Object getTarget()
          Enabled:
 String getText()
          Enabled:
 int getValue()
          Enabled:
 boolean isInverse()
          Enabled:
 boolean isMatched()
          Enabled:
(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()
          Suppressed:
 
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
Enabled:


BITSET

public static int BITSET
Enabled:


CHAR

public static int CHAR
Enabled:


CHAR_BITSET

public static int CHAR_BITSET
Enabled:


STRING

public static int STRING
Enabled:


CHAR_RANGE

public static int CHAR_RANGE
Enabled:


inverse

private boolean inverse

matched

private boolean matched

target

private Object target

value

private int value

text

private String text
Constructor Detail

ParserMatchEvent

public ParserMatchEvent(Object source)
Enabled:


ParserMatchEvent

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

Method Detail

getTarget

public Object getTarget()
Enabled:


getText

public String getText()
Enabled:


getValue

public int getValue()
Enabled:


isInverse

public boolean isInverse()
Enabled:


isMatched

public boolean isMatched()
Enabled:


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()
Suppressed:

Overrides:
toString in class EventObject
Returns:
A a String representation of this EventObject.


comments?