ANTLR3_INT_TRIE_NODE_struct(3)

πŸ“¦ version 3.4, in fedora 43

πŸ’– ANTLR3_INT_TRIE_NODE_struct(3) πŸ’–

okay so bestie, welcome to the ANTLR3C manual, section 3, and today's main character is ANTLR3_INT_TRIE_NODE_struct. she's a struct. she's a whole vibe. let's get into it πŸ¦‹


✨ NAME ✨

ANTLR3_INT_TRIE_NODE_struct β€” the structure that defines an element/node in an ANTLR3_INT_TRIE. that's it, that's her job. iconic behavior honestly πŸ’…


🌸 SYNOPSIS 🌸

#include <antlr3collections.h>

πŸŽ€ Data Fields πŸŽ€

  • ANTLR3_UINT32 bitNum β€” this is the left/right bit index for traversal along the nodes. literally the little compass that tells you which way to go, no cap 🧭
  • pANTLR3_TRIE_ENTRY buckets β€” this is the data bucket(s) that the key indexes, which may be NULL. so like, it might be there, it might not, she's mysterious ✨
  • ANTLR3_INTKEY key β€” this is the actual key that the entry represents if it is a terminal node. the moment she's terminal, this is the receipts 🫢
  • struct ANTLR3_INT_TRIE_NODE_struct * leftN β€” pointer to the left node from here when sKey & bitNum = 0. go left bestie πŸ‘ˆ
  • struct ANTLR3_INT_TRIE_NODE_struct * rightN β€” pointer to the right node from here when sKey & bitNum, = 1. and when that bit says otherwise, go right πŸ‘‰

πŸ’« Detailed Description πŸ’«

Structure that defines an element/node in an ANTLR3_INT_TRIE. periodt. that's the whole description and she said what she said πŸ’œ


πŸ”₯ Field Documentation πŸ”₯

⭐ ANTLR3_UINT32 ANTLR3_INT_TRIE_NODE_struct::bitNum

This is the left/right bit index for traversal along the nodes.

Referenced by antlr3IntTrieNew(), freeIntNode(), intTrieAdd(), and intTrieGet(). so basically everybody in the friend group knows her 😭


⭐ pANTLR3_TRIE_ENTRY ANTLR3_INT_TRIE_NODE_struct::buckets

This is the data bucket(s) that the key indexes, which may be NULL.

Referenced by freeIntNode(). just the one bestie, but a solid one 🫢


⭐ ANTLR3_INTKEY ANTLR3_INT_TRIE_NODE_struct::key

This is the actual key that the entry represents if it is a terminal node.

ngl, this field has no "Referenced by" line in the original, so don't come for me β€” I'm not inventing lore. she's lowkey keeping to herself πŸ™ˆ

⭐ struct ANTLR3_INT_TRIE_NODE_struct* ANTLR3_INT_TRIE_NODE_struct::leftN

Pointer to the left node from here when sKey & bitNum = 0.

Referenced by antlr3IntTrieNew(), freeIntNode(), intTrieAdd(), and intTrieGet(). the way she's in everyone's business πŸ’€


⭐ struct ANTLR3_INT_TRIE_NODE_struct* ANTLR3_INT_TRIE_NODE_struct::rightN

Pointer to the right node from here when sKey & bitNum, = 1.

Referenced by antlr3IntTrieNew(), freeIntNode(), and intTrieAdd(). three callers, not four β€” I'm counting, because accuracy is the whole vibe check βœ…


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for ANTLR3C from the source code. so yeah, no human author to thank, just Doxygen doing her thing, and honestly? she ate πŸ€–βœ¨


okay that's the whole page bestie!! Version 3.3.1, dated Tue Jul 29 2025 πŸ’– this was ANTLR3C's documentation for ANTLR3_INT_TRIE_NODE_struct(3), brought to you by Doxygen, and you read the entire thing which is genuinely so slay of you πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from