antlr.debug
Class InputBufferEvent

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

public class InputBufferEvent
extends Event

See Also:
Serialized Form

Field Summary
(package private)  char c
           
static int CONSUME
           
static int LA
           
(package private)  int lookaheadAmount
           
static int MARK
           
static int REWIND
           
 
Fields inherited from class antlr.debug.Event
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
InputBufferEvent(java.lang.Object source)
          CharBufferEvent constructor comment.
InputBufferEvent(java.lang.Object source, int type, char c, int lookaheadAmount)
          CharBufferEvent constructor comment.
 
Method Summary
 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 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

c

char c

lookaheadAmount

int lookaheadAmount

CONSUME

public static final int CONSUME
See Also:
Constant Field Values

LA

public static final int LA
See Also:
Constant Field Values

MARK

public static final int MARK
See Also:
Constant Field Values

REWIND

public static final int REWIND
See Also:
Constant Field Values
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