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) charstatic final intstatic final int(package private) intstatic final intstatic final intFields 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 TypeMethodDescriptionchargetChar()int(package private) voidsetChar(char c) (package private) voidsetLookaheadAmount(int la) (package private) voidsetValues(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:
toStringin classEventObject
-