ANTLR3_BASE_RECOGNIZER(3)

πŸ“¦ version 3.4, in fedora 43

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