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
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. |
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 |
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
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
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