include/antlr3...eenodestream.h(3)
π¦ NAME π¦
okay so this is the manpage for include/antlr3commontreenodestream.h, bestie β it's the definition of the ANTLR3 common tree node stream. it lives in the ANTLR3C manual (section 3, iykyk), so if you're out here grepping tree node streams, you're in the right place π
β¨ SYNOPSIS β¨
like, first you gotta pull in the headers, no cap:
#include <antlr3defs.h>
#include <antlr3commontreeadaptor.h>
#include <antlr3commontree.h>
#include <antlr3collections.h>
#include <antlr3intstream.h>
#include <antlr3string.h>
π§Έ Data Structures
struct ANTLR3_COMMON_TREE_NODE_STREAM_structstruct ANTLR3_TREE_NODE_STREAM_structstruct ANTLR3_TREE_WALK_STATE_structβ this structure is used to save the state information in the treenodestream when walking ahead with cyclic DFA or for syntactic predicates, we need to record the state of the tree node stream.
π Macros
#define DEFAULT_INITIAL_BUFFER_SIZE 100β token buffer initial size settings ( will auto increase)#define INITIAL_CALL_STACK_SIZE 10
π Typedefs
typedef struct ANTLR3_COMMON_TREE_NODE_STREAM_struct ANTLR3_COMMON_TREE_NODE_STREAMtypedef struct ANTLR3_TREE_NODE_STREAM_struct ANTLR3_TREE_NODE_STREAMtypedef struct ANTLR3_TREE_WALK_STATE_struct ANTLR3_TREE_WALK_STATEβ this structure is used to save the state information in the treenodestream when walking ahead with cyclic DFA or for syntactic predicates, we need to record the state of the tree node stream.
π Detailed Description π
Definition of the ANTLR3 common tree node stream. that's the whole vibe, bestie β it's giving "this header defines the thing" and honestly? iconic π
π₯ Macro Definition Documentation π₯
#define DEFAULT_INITIAL_BUFFER_SIZE 100
Token buffer initial size settings ( will auto increase)
Referenced by antlr3CommonTreeNodeStreamNew(), and antlr3CommonTreeNodeStreamNewStream().
#define INITIAL_CALL_STACK_SIZE 10
Referenced by antlr3CommonTreeNodeStreamNew(), and reset().
π Typedef Documentation π
typedef struct ANTLR3_COMMON_TREE_NODE_STREAM_struct ANTLR3_COMMON_TREE_NODE_STREAM
just a lil typedef, slay β¨
typedef struct ANTLR3_TREE_NODE_STREAM_struct ANTLR3_TREE_NODE_STREAM
another lil typedef, periodt π«Ά
typedef struct ANTLR3_TREE_WALK_STATE_struct ANTLR3_TREE_WALK_STATE
This structure is used to save the state information in the treenodestream when walking ahead with cyclic DFA or for syntactic predicates, we need to record the state of the tree node stream. This class wraps up the current state of the CommonTreeNodeStream. Calling mark() will push another of these on the markers stack.
okay so real talk: that markers-stack behaviour is literally the whole point of this struct, so don't be out here losing track of your walk state bestie π
πΈ Author πΈ
Generated automatically by Doxygen for ANTLR3C from the source code. not a human, just a robot doing its lil thing π€π
and that's a wrap!! this was Version 3.3.1, dated Tue Jul 29 2025, brought to you by the ANTLR3C source code β mwah, go read some tree nodes bestie ππ¦π
π¦ 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