Package antlr.debug

Class MessageEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class MessageEvent
    extends Event
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ERROR  
      static int WARNING  
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      MessageEvent​(java.lang.Object source)  
      MessageEvent​(java.lang.Object source, int type, java.lang.String text)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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 java.util.EventObject

        getSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • 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