ANTLR3_STACK_struct(3)
π ANTLR3_STACK_struct(3) π
okay bestie, welcome to the ANTLR3C manual β specifically the page for ANTLR3_STACK_struct and honestly? it's giving "quiet overachiever." β¨
πΈ NAME πΈ
ANTLR3_STACK_struct β the Structure that represents a Stack collection. no cap, that's literally it, that's the whole vibe. a stack. but make it C. π₯
β¨ SYNOPSIS β¨
#include <antlr3collections.h>
π Data Fields
void(* free )(struct ANTLR3_STACK_struct *stack)β the lil cleanup bestie πvoid *(* get )(struct ANTLR3_STACK_struct *stack, ANTLR3_INTKEY key)β go fetch, but for data π«Άvoid *(* peek )(struct ANTLR3_STACK_struct *stack)β look at the top, don't touch, just admire πvoid *(* pop )(struct ANTLR3_STACK_struct *stack)β take the top one off, bye πANTLR3_BOOLEAN(* push )(struct ANTLR3_STACK_struct *stack, void *element, void(ANTLR3_CDECL *freeptr)(void *))β put a new one on top, iconic behavior βANTLR3_UINT32(* size )(struct ANTLR3_STACK_struct *stack)β how many are we talking πvoid * topβ Used for quick access to the top of the stack. main character energy, always front and center πpANTLR3_VECTOR vectorβ List that supports the stack structure. the backbone, the hype squad, the support system π¦
π§ Detailed Description π§
Structure that represents a Stack collection. that's the assignment. that's the whole thing. periodt. π
π Field Documentation π
π
void(* ANTLR3_STACK_struct::free) (struct ANTLR3_STACK_struct *stack)
Referenced by antlr3CommonTreeNodeStreamFree(), antlr3StackNew(), closeVectorFactory(), factoryClose(), freeLexer(), freeParser(), freeParser(), reset(), and reset().
yes bestie,freeParser()shows up twice andreset()shows up twice in that list. that's not me being messy, that's what the page says. we keep the facts exactly as they are, fr fr. π
π₯ void *(* ANTLR3_STACK_struct::get) (struct ANTLR3_STACK_struct *stack, ANTLR3_INTKEY key)
Referenced by antlr3StackNew(), and combineFollows().
π void *(* ANTLR3_STACK_struct::peek) (struct ANTLR3_STACK_struct *stack)
Referenced by antlr3StackNew(), newPoolTree(), and newVector().
π¦ void *(* ANTLR3_STACK_struct::pop) (struct ANTLR3_STACK_struct *stack)
Referenced by antlr3StackNew(), newPoolTree(), newVector(), pop(), and popCharStream().
β ANTLR3_BOOLEAN(* ANTLR3_STACK_struct::push) (struct ANTLR3_STACK_struct *stack, void *element, void(ANTLR3_CDECL *freeptr)(void *))
Referenced by antlr3StackNew(), push(), pushCharStream(), returnVector(), and reuse().
π ANTLR3_UINT32(* ANTLR3_STACK_struct::size) (struct ANTLR3_STACK_struct *stack)
Referenced by antlr3StackNew(), combineFollows(), nextToken(), and popCharStream().
πΈ void* ANTLR3_STACK_struct::top
Used for quick access to the top of the stack.
Referenced by antlr3StackFree(), antlr3StackNew(), antlr3StackPeek(), antlr3StackPop(), antlr3StackPush(), and popCharStream().
π§ pANTLR3_VECTOR ANTLR3_STACK_struct::vector
List that supports the stack structure.
Referenced by antlr3StackFree(), antlr3StackGet(), antlr3StackNew(), antlr3StackPop(), antlr3StackPush(), and antlr3StackSize().
π Author π
Generated automatically by Doxygen for ANTLR3C from the source code. so like, technically the robot wrote it, but i'm the one hyping it up for you. team effort. π€
and that's a wrap, bestie!! π this page is from Version 3.3.1, dated Tue Jul 29 2025 00:00:00 β so go forth, push responsibly, pop with confidence, and never forget to free. mwah. πβ¨
π¦ 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