include/antlr3...eenodestream.h(3)

πŸ“¦ version 3.4, in fedora 43

πŸ¦‹ 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_struct
  • struct ANTLR3_TREE_NODE_STREAM_struct
  • struct 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_STREAM
  • typedef struct ANTLR3_TREE_NODE_STREAM_struct ANTLR3_TREE_NODE_STREAM
  • 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.

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