ANTLR3_TRIE_ENTRY_struct(3)
πΈ ANTLR3_TRIE_ENTRY_struct β bestie edition πΈ
okay so this is a page from the ANTLR3C manual (ANTLR3_TRIE_ENTRY_struct(3), if we're being formal π
) and it's all about one lil' struct. buckle up.
β¨ NAME β¨
ANTLR3_TRIE_ENTRY_struct β the structure that holds the payload entry in an ANTLR3_INT_TRIE or an ANTLR3_STRING_TRIE. that's it, that's the whole job. she's a container girlie π
β¨ SYNOPSIS β¨
#include <antlr3collections.h>
π«Ά Public Member Functions
void (ANTLR3_CDECL *freeptr)(void *)
π«Ά Data Fields
union {
ANTLR3_INTKEY intVal
void * ptr
} data
struct ANTLR3_TRIE_ENTRY_struct * next
ANTLR3_UINT32 type
β¨ Detailed Description β¨
so basically π β this is the structure that holds the payload entry in an ANTLR3_INT_TRIE or an ANTLR3_STRING_TRIE. yes it says the same thing as the NAME section, no we are not going to skip it, the manpage said it twice and so do we. periodt.
β¨ Member Function Documentation β¨
π ANTLR3_TRIE_ENTRY_struct::void (ANTLR3_CDECL * freeptr)
References ANTLR3_CDECL. that's the whole note. she's a function pointer and she's pointing at things, and the docs just want you to know she's got ANTLR3_CDECL energy β¨
β¨ Field Documentation β¨
π¦ union { ... } ANTLR3_TRIE_ENTRY_struct::data
Referenced by freeIntNode(), getRuleMemoization(), intTrieAdd(), and memoize(). so like, four whole functions are out here depending on this union. iconic honestly.
π¦ ANTLR3_INTKEY ANTLR3_TRIE_ENTRY_struct::intVal
Referenced by getRuleMemoization(), and intTrieAdd().
π¦ struct ANTLR3_TRIE_ENTRY_struct* ANTLR3_TRIE_ENTRY_struct::next
Referenced by freeIntNode(), and intTrieAdd(). a struct that points to itself? self-referential queen π
π¦ void* ANTLR3_TRIE_ENTRY_struct::ptr
Referenced by freeIntNode(), getRuleMemoization(), intTrieAdd(), and memoize(). the most popular member of the group chat fr fr π
π¦ ANTLR3_UINT32 ANTLR3_TRIE_ENTRY_struct::type
Referenced by freeIntNode(), and intTrieAdd(). she's a ANTLR3_UINT32, she tells you what kind of thing you're looking at, and only two functions ever call on her. lowkey underrated π
β¨ Author β¨
Generated automatically by Doxygen for ANTLR3C from the source code. not a human, just a robot doing its little robot thing π€β¨
and that's the whole page bestie, no cap. every field, every reference, every callback β all accounted for π
okay bye ily, this was Version 3.3.1, dated Tue Jul 29 2025 00:00:00, and it's a wrap ππ¦π
π¦ 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