include/antlr3string.h(3)
β¨ include/antlr3string.h β the string interface, bestie edition β¨
okay so this is a page from the ANTLR3C manual, and it's about <antlr3string.h> β the simple string interface. no cap, it's lowkey iconic. π
π NAME π
include/antlr3string.h β Simple string interface allows indiscriminate allocation of strings such that they can be allocated all over the place and released in one chunk via a string factory β saves lots of hassle in remembering what strings were allocated where.
fr fr, that's the whole vibe: allocate wherever, free everything in one go. main character energy for your memory management. π
πΈ SYNOPSIS πΈ
#include <antlr3defs.h>
#include <antlr3collections.h>
π¦ Data Structures π¦
struct ANTLR3_STRING_FACTORY_structβ Definition of the string factory interface, which creates and tracks strings for you of various shapes and sizes.struct ANTLR3_STRING_structβ Base string class tracks the allocations and provides simple string tracking functions.
π Typedefs π
typedef struct ANTLR3_STRING_struct ANTLR3_STRINGβ Base string class tracks the allocations and provides simple string tracking functions.typedef struct ANTLR3_STRING_FACTORY_struct ANTLR3_STRING_FACTORYβ Definition of the string factory interface, which creates and tracks strings for you of various shapes and sizes.
π Detailed Description π
Simple string interface allows indiscriminate allocation of strings such that they can be allocated all over the place and released in one chunk via a string factory β saves lots of hassle in remembering what strings were allocated where.
like. the way that you don't have to keep a little mental list of every single string you ever made?? obsessed. you just yeet them all into the factory and it holds them for you. β¨π«Ά
π Typedef Documentation π
π typedef struct ANTLR3_STRING_struct ANTLR3_STRING π
Base string class tracks the allocations and provides simple string tracking functions. Mostly you can work directly on the string for things that don't reallocate it, like strchr() etc. Perhaps someone will want to provide implementations for UTF8 and so on.
ngl that "perhaps someone will want to provide implementations for UTF8 and so on" is giving open invitation. π if that someone is you, slay.
π§ typedef struct ANTLR3_STRING_FACTORY_struct ANTLR3_STRING_FACTORY π§
Definition of the string factory interface, which creates and tracks strings for you of various shapes and sizes.
she makes them, she tracks them, she does not lose them. a queen. π
β Author β
Generated automatically by Doxygen for ANTLR3C from the source code.
and that's the whole page bestie!! Version 3.3.1, dated Tue Jul 29 2025 00:00:00 β mwah, go forth and allocate indiscriminately πππ¦
π¦ 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