ANTLR3C
3.3.1
|
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. More...
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. More... | |
struct | ANTLR3_STRING_struct |
Base string class tracks the allocations and provides simple string tracking functions. More... | |
Typedefs | |
typedef struct ANTLR3_STRING_struct | ANTLR3_STRING |
Base string class tracks the allocations and provides simple string tracking functions. More... | |
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. More... | |
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.
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.
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.