ANTLR3_BASE_RECOGNIZER(3)
π ANTLR3_BASE_RECOGNIZER π
okay bestie, welcome to the ANTLR3C girlies' corner of the manual, because today we're talking about ANTLR3_BASE_RECOGNIZER β the base recognizer class definition, no cap β¨
β¨ NAME β¨
ANTLR3_BASE_RECOGNIZER β the Base Recognizer Class Definition, periodt π
- This is literally the definition of the base recognizer interface, and the instantiations of it get referred to via
pANTLR3_BASE_RECOGNIZER. iykyk π«Ά
πΈ SYNOPSIS πΈ
π¦ Data Structures π¦
struct ANTLR3_BASE_RECOGNIZER_structβ bestie this is the base tracking context structure for all types of recognizers. all of them. every single one. iconic π
π Macros π
#define ANTLR3_TYPE_LEXER 0x0001β the type indicator for a lexer recognizer π#define ANTLR3_TYPE_PARSER 0x0002β the type indicator for a parser recognizer π#define ANTLR3_TYPE_TREE_PARSER 0x0004β the type indicator for a tree parser recognizer π
π Typedefs π
typedef struct ANTLR3_BASE_RECOGNIZER_struct ANTLR3_BASE_RECOGNIZERβ the base tracking context structure for all types of recognizers, again, because she contains multitudes πtypedef struct ANTLR3_BASE_RECOGNIZER_struct * pANTLR3_BASE_RECOGNIZERβ a pointer to an instantiation of the 'class'ANTLR3_BASE_RECOGNIZER. it's giving pointer energy fr fr β¨
π Detailed Description π
This is the definition of the base recognizer interface, instantiations of which are referred to via pANTLR3_BASE_RECOGNIZER.
ngl, in general you will not refer to one of these structures directly, because a pANTLR3_BASE_RECOGNIZER will be embedded within a higher level object such as pANTLR3_PARSER. so she's lowkey the main character hiding inside another main character β nesting energy, we love to see it π§
π₯ Macro Definition Documentation π₯
#define ANTLR3_TYPE_LEXER 0x0001 π
Type indicator for a lexer recognizer.
Referenced by alreadyParsedRule(), antlr3LexerNew(), antlr3RecognitionExceptionNew(), and memoize(). slay, she gets around π
#define ANTLR3_TYPE_PARSER 0x0002 π
Type indicator for a parser recognizer.
Referenced by alreadyParsedRule(), antlr3ParserNew(), antlr3RecognitionExceptionNew(), antlr3TreeParserNewStream(), consumeUntil(), consumeUntilSet(), displayRecognitionError(), match(), matchAny(), memoize(), mismatch(), recover(), recoverFromMismatchedElement(), recoverFromMismatchedSet(), recoverFromMismatchedToken(), and synpred(). okay she is EVERYWHERE, ate and left no crumbs ππ₯
#define ANTLR3_TYPE_TREE_PARSER 0x0004 π
Type indicator for a tree parser recognizer.
Referenced by alreadyParsedRule(), antlr3RecognitionExceptionNew(), antlr3TreeParserNewStream(), consumeUntil(), consumeUntilSet(), displayRecognitionError(), match(), matchAny(), memoize(), recover(), recoverFromMismatchedElement(), recoverFromMismatchedSet(), recoverFromMismatchedToken(), and synpred(). tree parser representation, honestly obsessed πΈ
π Typedef Documentation π
typedef struct ANTLR3_BASE_RECOGNIZER_struct ANTLR3_BASE_RECOGNIZER
Base tracking context structure for all types of recognizers. the blueprint, the blueprint π
typedef struct ANTLR3_BASE_RECOGNIZER_struct* pANTLR3_BASE_RECOGNIZER
Pointer to an instantiation of the 'class' ANTLR3_BASE_RECOGNIZER. just a lil star doing the most, and honestly? good for her β
π«Ά Author π«Ά
Generated automatically by Doxygen for ANTLR3C from the source code. not a human author bestie, it's a robot doing its lil thing π€π
so yeah, that's the whole vibe check. every macro, every typedef, every reference β nothing skipped, nothing invented, all facts intact. you're welcome πβ¨
Version 3.3.1 β Tue Jul 29 2025 00:00:00 π πΈ and that's the sign-off bestie, mwah, go forth and recognize responsibly π¦π
π¦ 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