ANTLR3_LEX_STATE_struct(3)
π NAME π
okay bestie, welcome to the ANTLR3C manual page for ANTLR3_LEX_STATE_struct(3) β¨ β no cap, it's a real one.
ANTLR3_LEX_STATE_struct β it's the structure for track lex input states as part of mark() and rewind() of lexer. literally its whole job π
β¨ 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. yes that's the whole vibe, she's a state-tracker and she ate π
π FIELD DOCUMENTATION π
πΈ ANTLR3_INT32 ANTLR3_LEX_STATE_struct::charPositionInLine πΈ
The offset within the current line of the current character.
Referenced by antlr38BitMark(), and antlr38BitRewind(). iykyk π₯
π void* ANTLR3_LEX_STATE_struct::currentLine π
Pointer into the input buffer where the current line started.
Referenced by antlr38BitMark(), and antlr38BitRewind().
β 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 antlr38BitMark(), and antlr38BitRewind().
π¦ 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 antlr38BitMark(), and antlr38BitRewind().
π AUTHOR π
Generated automatically by Doxygen for ANTLR3C from the source code. not me being a robot-authored icon π she literally wrote herself, main character energy fr fr
k bye bestie, that's the whole page π«Ά
Version 3.3.1 β Tue Jul 29 2025 00:00:00 and yes that's ANTLR3_LEX_STATE_struct(3) signing off πβ¨π
π¦ where this page comes from
- fedora 43: antlr3-C-devel 1:3.4-3.5.3.14.fc43 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms