include/antlr3...ventlistener.h(3)
β¨ include/antlr3debugeventlistener.h π
okay bestie, gather round, because this is the ANTLR3C header that defines, like, every single debugging event a recognizer can trigger π it's giving backstage-pass energy for your parser. no cap.
πΈ NAME πΈ
include/antlr3debugeventlistener.h β the definition of all debugging events that a recognizer can trigger. π
π¦ SYNOPSIS π¦
#include <antlr3defs.h>
#include <antlr3basetree.h>
#include <antlr3commontoken.h>
β¨ Data Structures β¨
struct ANTLR3_DEBUG_EVENT_LISTENER_structβ the ANTLR3 debugging interface for communicating with ANLTR Works. literally the whole point of this file π«Ά
β¨ Macros β¨
#define DEFAULT_DEBUGGER_PORT 0xBFCC;β default debugging port. iconic little number, she's got a semicolon glued to her, don't touch it π
β¨ Typedefs β¨
typedef struct ANTLR3_DEBUG_EVENT_LISTENER_struct ANTLR3_DEBUG_EVENT_LISTENERβ the ANTLR3 debugging interface for communicating with ANLTR Works. yes she's a typedef AND a struct name, she contains multitudes π
π Detailed Description π
The definition of all debugging events that a recognizer can trigger. that's it, that's the mission statement, slay β
π Remarks π
From the java implementation by Terence Parr... I did not create a separate AST debugging interface as it would create lots of extra classes and DebugParser has a dbg var defined, which makes it hard to change to ASTDebugEventListener. I looked hard at this issue and it is easier to understand as one monolithic event interface for all possible events. Hopefully, adding ST debugging stuff won't be bad. Leave for future. 4/26/2006.
no fr, the author really said "one giant event interface, it's easier to understand that way" and honestly? valid. main character design decision π
π Macro Definition Documentation π
π
#define DEFAULT_DEBUGGER_PORT 0xBFCC;
Default debugging port. keep the ; bestie, it's part of the whole fit β¨
Referenced by antlr3DebugListenerNew().
π§ Typedef Documentation π§
β typedef struct ANTLR3_DEBUG_EVENT_LISTENER_struct ANTLR3_DEBUG_EVENT_LISTENER
The ANTLR3 debugging interface for communicating with ANLTR Works.
Function comments mostly taken from the Java version. (shoutout to the OGs π)
πΈ Author πΈ
Generated automatically by Doxygen for ANTLR3C from the source code. not a human, just a robot doing her little thing, and she ate π₯
and that's the whole page, bestie!! go debug something gorgeous πβ¨π¦
Version 3.3.1 β Tue Jul 29 2025 β from the ANTLR3C source. mwah, see you in the next manpage, periodt π π
π¦ 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