antlr

Class ParserSharedInputState

public class ParserSharedInputState extends Object

This object contains the data associated with an input stream of tokens. Multiple parsers share a single ParserSharedInputState to parse the same stream of tokens.
Field Summary
protected Stringfilename
What file (if known) caused the problem?
intguessing
Are we guessing (guessing>0)?
protected TokenBufferinput
Where to get token objects
Method Summary
StringgetFilename()
TokenBuffergetInput()
voidreset()

Field Detail

filename

protected String filename
What file (if known) caused the problem?

guessing

public int guessing
Are we guessing (guessing>0)?

input

protected TokenBuffer input
Where to get token objects

Method Detail

getFilename

public String getFilename()

getInput

public TokenBuffer getInput()

reset

public void reset()