antlr.debug

Class InputBufferEvent


public class InputBufferEvent
extends Event

Field Summary

static int
CONSUME
static int
LA
static int
MARK
static int
REWIND
(package private) char
c
(package private) int
lookaheadAmount

Constructor Summary

InputBufferEvent(Object source)
CharBufferEvent constructor comment.
InputBufferEvent(Object source, int type, char c, int lookaheadAmount)
CharBufferEvent constructor comment.

Method Summary

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

Methods inherited from class antlr.debug.Event

getType, setType, setValues

Field Details

CONSUME

public static final int CONSUME

Field Value:
0


LA

public static final int LA

Field Value:
1


MARK

public static final int MARK

Field Value:
2


REWIND

public static final int REWIND

Field Value:
3


c

(package private)  char c


lookaheadAmount

(package private)  int lookaheadAmount

Constructor Details

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 Details

getChar

public char getChar()


getLookaheadAmount

public int getLookaheadAmount()


setChar

(package private)  void setChar(char c)


setLookaheadAmount

(package private)  void setLookaheadAmount(int la)


setValues

(package private)  void setValues(int type,
                                  char c,
                                  int la)
This should NOT be called from anyone other than ParserEventSupport!


toString

public String toString()