Public Member Functions | Public Attributes | Protected Attributes

antlr.LexerSharedInputState Class Reference

List of all members.

Public Member Functions

 LexerSharedInputState (InputBuffer inbuf)
 LexerSharedInputState (InputStream in)
 LexerSharedInputState (Reader in)
String getFilename ()
InputBuffer getInput ()
int getLine ()
int getTokenStartColumn ()
int getTokenStartLine ()
int getColumn ()
void reset ()

Public Attributes

int guessing = 0

Protected Attributes

int column = 1
int line = 1
int tokenStartColumn = 1
int tokenStartLine = 1
InputBuffer input
String filename

Detailed Description

This object contains the data associated with an input stream of characters. Multiple lexers share a single LexerSharedInputState to lex the same input stream.


Constructor & Destructor Documentation

antlr.LexerSharedInputState.LexerSharedInputState ( InputBuffer  inbuf  ) 
antlr.LexerSharedInputState.LexerSharedInputState ( InputStream  in  ) 
antlr.LexerSharedInputState.LexerSharedInputState ( Reader  in  ) 

Member Function Documentation

int antlr.LexerSharedInputState.getColumn (  ) 
String antlr.LexerSharedInputState.getFilename (  ) 
InputBuffer antlr.LexerSharedInputState.getInput (  ) 
int antlr.LexerSharedInputState.getLine (  ) 
int antlr.LexerSharedInputState.getTokenStartColumn (  ) 
int antlr.LexerSharedInputState.getTokenStartLine (  ) 
void antlr.LexerSharedInputState.reset (  ) 

Member Data Documentation

int antlr.LexerSharedInputState.line = 1 [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties