antlr.debug

Class InputBufferEvent

public class InputBufferEvent extends Event

Field Summary
charc
static intCONSUME
intlookaheadAmount
static intLA
static intMARK
static intREWIND
Constructor Summary
InputBufferEvent(Object source)
CharBufferEvent constructor comment.
InputBufferEvent(Object source, int type, char c, int lookaheadAmount)
CharBufferEvent constructor comment.
Method Summary
chargetChar()
intgetLookaheadAmount()
voidsetChar(char c)
voidsetLookaheadAmount(int la)
voidsetValues(int type, char c, int la)
This should NOT be called from anyone other than ParserEventSupport!
StringtoString()

Field Detail

c

char c

CONSUME

public static final int CONSUME

lookaheadAmount

int lookaheadAmount

LA

public static final int LA

MARK

public static final int MARK

REWIND

public static final int REWIND

Constructor Detail

InputBufferEvent

public InputBufferEvent(Object source)
CharBufferEvent constructor comment.

Parameters: source java.lang.Object

InputBufferEvent

public InputBufferEvent(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 String toString()