ANTLR3_LEX_STATE_struct(3)

πŸ“¦ version 3.4, in fedora 43

πŸ’– 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