Package antlr.debug

Class InputBufferEvent

  • All Implemented Interfaces:
    java.io.Serializable

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

      Fields 
      Modifier and Type Field Description
      (package private) char c  
      static int CONSUME  
      static int LA  
      (package private) int lookaheadAmount  
      static int MARK  
      static int REWIND  
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      InputBufferEvent​(java.lang.Object source)
      CharBufferEvent constructor comment.
      InputBufferEvent​(java.lang.Object source, int type, char c, int lookaheadAmount)
      CharBufferEvent constructor comment.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char getChar()  
      int getLookaheadAmount()  
      (package private) void setChar​(char c)  
      (package private) void setLookaheadAmount​(int la)  
      (package private) void setValues​(int type, char c, int la)
      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
    • Constructor Detail

      • InputBufferEvent

        public InputBufferEvent​(java.lang.Object source)
        CharBufferEvent constructor comment.
        Parameters:
        source - java.lang.Object
      • InputBufferEvent

        public InputBufferEvent​(java.lang.Object source,
                                int type,
                                char c,
                                int lookaheadAmount)
        CharBufferEvent constructor comment.
        Parameters:
        source - java.lang.Object
    • Method Detail

      • getChar

        public char getChar()
      • getLookaheadAmount

        public int getLookaheadAmount()
      • setChar

        void setChar​(char c)
      • setLookaheadAmount

        void setLookaheadAmount​(int la)
      • setValues

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

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