org.antlr.runtime.CharStreamState Class Reference

List of all members.

Package Attributes

int p
int line
int charPositionInLine


Detailed Description

When walking ahead with cyclic DFA or for syntactic predicates, we need to record the state of the input stream (char index, line, etc...) so that we can rewind the state after scanning ahead.

This is the complete state of a stream.

Definition at line 36 of file CharStreamState.java.


Member Data Documentation

Index into the char stream of next lookahead char

Definition at line 38 of file CharStreamState.java.

What line number is the scanner at before processing buffer[p]?

Definition at line 41 of file CharStreamState.java.

What char position 0..n-1 in line is scanner before processing buffer[p]?

Definition at line 44 of file CharStreamState.java.


The documentation for this class was generated from the following file:

Generated on Wed Oct 1 14:13:39 2008 for ANTLR API by  doxygen 1.5.5