antlr.debug
Class MessageEvent

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

public class MessageEvent
extends Event

See Also:
Serialized Form

Field Summary
static int ERROR
           
private  java.lang.String text
           
static int WARNING
           
 
Fields inherited from class antlr.debug.Event
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MessageEvent(java.lang.Object source)
           
MessageEvent(java.lang.Object source, int type, java.lang.String text)
           
 
Method Summary
 java.lang.String getText()
           
(package private)  void setText(java.lang.String text)
           
(package private)  void setValues(int type, java.lang.String text)
          This should NOT be called from anyone other than ParserEventSupport!
 java.lang.String toString()
           
 
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

text

private java.lang.String text

WARNING

public static int WARNING

ERROR

public static int ERROR
Constructor Detail

MessageEvent

public MessageEvent(java.lang.Object source)

MessageEvent

public MessageEvent(java.lang.Object source,
                    int type,
                    java.lang.String text)
Method Detail

getText

public java.lang.String getText()

setText

void setText(java.lang.String text)

setValues

void setValues(int type,
               java.lang.String text)
This should NOT be called from anyone other than ParserEventSupport!


toString

public java.lang.String toString()
Overrides:
toString in class java.util.EventObject