ANTLR3_LEX_STATE_struct (3) - Linux Manuals
NAME
ANTLR3_LEX_STATE_struct -
Structure for track lex input states as part of mark() and rewind() of lexer.
SYNOPSIS
#include <antlr3input.h>
Data Fields
ANTLR3_INT32 charPositionInLine
The offset within the current line of the current character.
void * currentLine
Pointer into the input buffer where the current line started.
ANTLR3_UINT32 line
The line number we are traversing in the input file.
void * nextChar
Pointer to the next character to be consumed from the input data This is cast to point at the encoding of the original file that was read by the functions installed as pointer in this input stream context instance at file/string/whatever load time.
Detailed Description
Structure for track lex input states as part of mark() and rewind() of lexer.
Field Documentation
ANTLR3_INT32 ANTLR3_LEX_STATE_struct::charPositionInLine
The offset within the current line of the current character.
Referenced by antlr3AsciiMark(), and antlr3AsciiRewind().
void* ANTLR3_LEX_STATE_struct::currentLine
Pointer into the input buffer where the current line started.
Referenced by antlr3AsciiMark(), and antlr3AsciiRewind().
ANTLR3_UINT32 ANTLR3_LEX_STATE_struct::line
The line number we are traversing in the input file. This gets incremented by a newline() call in the lexer grammer actions.
Referenced by antlr3AsciiMark(), and antlr3AsciiRewind().
void* ANTLR3_LEX_STATE_struct::nextChar
Pointer to the next character to be consumed from the input data This is cast to point at the encoding of the original file that was read by the functions installed as pointer in this input stream context instance at file/string/whatever load time.
Referenced by antlr3AsciiMark(), and antlr3AsciiRewind().
Author
Generated automatically by Doxygen for ANTLR3C from the source code.