Package 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
-
-
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()
-
-
-
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 classjava.util.EventObject
-
-