Package antlr.debug

Class ParserTokenEvent

  • All Implemented Interfaces:
    java.io.Serializable

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

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

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      ParserTokenEvent​(java.lang.Object source)  
      ParserTokenEvent​(java.lang.Object source, int type, int amount, int value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getAmount()  
      int getValue()  
      (package private) void setAmount​(int amount)  
      (package private) void setValue​(int value)  
      (package private) void setValues​(int type, int amount, int value)
      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

      • LA

        public static int LA
      • CONSUME

        public static int CONSUME
    • Constructor Detail

      • ParserTokenEvent

        public ParserTokenEvent​(java.lang.Object source)
      • ParserTokenEvent

        public ParserTokenEvent​(java.lang.Object source,
                                int type,
                                int amount,
                                int value)
    • Method Detail

      • getAmount

        public int getAmount()
      • getValue

        public int getValue()
      • setAmount

        void setAmount​(int amount)
      • setValue

        void setValue​(int value)
      • setValues

        void setValues​(int type,
                       int amount,
                       int value)
        This should NOT be called from anyone other than ParserEventSupport!
      • toString

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