ANTLR3C  3.3.1
antlr3string.h File Reference

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...

#include <antlr3defs.h>
#include <antlr3collections.h>
Include dependency graph for antlr3string.h:
This graph shows which files directly or indirectly include this file:

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.
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.


Typedef Documentation

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.

Definition of the string factory interface, which creates and tracks strings for you of various shapes and sizes.