Package antlr.debug
Class InputBufferEvent
java.lang.Object
java.util.EventObject
antlr.debug.Event
antlr.debug.InputBufferEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) char
static final int
static final int
(package private) int
static final int
static final int
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionInputBufferEvent
(Object source) CharBufferEvent constructor comment.InputBufferEvent
(Object source, int type, char c, int lookaheadAmount) CharBufferEvent constructor comment. -
Method Summary
Modifier and TypeMethodDescriptionchar
getChar()
int
(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!toString()
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
c
char c -
lookaheadAmount
int lookaheadAmount -
CONSUME
public static final int CONSUME- See Also:
-
LA
public static final int LA- See Also:
-
MARK
public static final int MARK- See Also:
-
REWIND
public static final int REWIND- See Also:
-
-
Constructor Details
-
InputBufferEvent
CharBufferEvent constructor comment.- Parameters:
source
- java.lang.Object
-
InputBufferEvent
CharBufferEvent constructor comment.- Parameters:
source
- java.lang.Object
-
-
Method Details
-
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
- Overrides:
toString
in classEventObject
-