#include <antlr3collections.h>

Public Member Functions | |
| void (ANTLR3_CDECL *free)(struct ANTLR3_VECTOR_struct *vector) | |
Data Fields | |
| ANTLR3_UINT32(* | add )(struct ANTLR3_VECTOR_struct *vector, void *element, void(ANTLR3_CDECL *freeptr)(void *)) |
| void(* | clear )(struct ANTLR3_VECTOR_struct *vector) |
| ANTLR3_UINT32 | count |
| Number of entries currently in the list;. | |
| void(* | del )(struct ANTLR3_VECTOR_struct *vector, ANTLR3_UINT32 entry) |
| pANTLR3_VECTOR_ELEMENT | elements |
| Array of pointers to vector elements. | |
| ANTLR3_UINT32 | elementsSize |
| Total number of entries in elements at any point in time. | |
| ANTLR3_BOOLEAN | factoryMade |
| Indicates if the structure was made by a factory, in which case only the factory can free the memory for the actual vector, though the vector free function is called and will recurse through its entries calling any free pointers for each entry. | |
| void *(* | get )(struct ANTLR3_VECTOR_struct *vector, ANTLR3_UINT32 entry) |
| void *(* | remove )(struct ANTLR3_VECTOR_struct *vector, ANTLR3_UINT32 entry) |
| ANTLR3_UINT32(* | set )(struct ANTLR3_VECTOR_struct *vector, ANTLR3_UINT32 entry, void *element, void(ANTLR3_CDECL *freeptr)(void *), ANTLR3_BOOLEAN freeExisting) |
| ANTLR3_UINT32(* | size )(struct ANTLR3_VECTOR_struct *vector) |
| ANTLR3_VECTOR_struct::void | ( | ANTLR3_CDECL * | free | ) |
| ANTLR3_UINT32(* ANTLR3_VECTOR_struct::add)(struct ANTLR3_VECTOR_struct *vector, void *element, void(ANTLR3_CDECL *freeptr)(void *)) |
Referenced by add(), addChild(), antlr3AsciiMark(), antlr3StackPush(), antlr3VectorNew(), fillBuffer(), freeRS(), newVector(), and replaceChildren().
| void(* ANTLR3_VECTOR_struct::clear)(struct ANTLR3_VECTOR_struct *vector) |
Referenced by antlr3VectorNew(), and freeRS().
Number of entries currently in the list;.
Referenced by add(), antlr3AsciiMark(), antlr3RewriteRuleElementStreamNewAE(), antlr3StackPop(), antlr3StackSize(), antlr3VectorAdd(), antlr3VectorClear(), antlr3VectorDel(), antlr3VectorFree(), antlr3VectorNew(), antlr3VectorSet(), antlr3VectorSize(), antrl3VectorRemove(), closeVectorFactory(), mismatchIsMissingToken(), and size().
| void(* ANTLR3_VECTOR_struct::del)(struct ANTLR3_VECTOR_struct *vector, ANTLR3_UINT32 entry) |
Referenced by antlr3StackPop(), antlr3VectorNew(), and destroy().
Array of pointers to vector elements.
Referenced by antlr3VectorAdd(), antlr3VectorClear(), antlr3VectorDel(), antlr3VectorFree(), antlr3VectorGet(), antlr3VectorNew(), antlr3VectorResize(), antlr3VectorSet(), antrl3VectorRemove(), closeVectorFactory(), replaceChildren(), and tokLT().
Total number of entries in elements at any point in time.
Referenced by antlr3VectorAdd(), antlr3VectorNew(), antlr3VectorResize(), and antlr3VectorSet().
Indicates if the structure was made by a factory, in which case only the factory can free the memory for the actual vector, though the vector free function is called and will recurse through its entries calling any free pointers for each entry.
Referenced by antlr3RewriteRuleElementStreamNewAEV(), antlr3VectorFree(), antlr3VectorNew(), closeVectorFactory(), freeRS(), and newVector().
| void*(* ANTLR3_VECTOR_struct::get)(struct ANTLR3_VECTOR_struct *vector, ANTLR3_UINT32 entry) |
| void*(* ANTLR3_VECTOR_struct::remove)(struct ANTLR3_VECTOR_struct *vector, ANTLR3_UINT32 entry) |
Referenced by antlr3RewriteRuleElementStreamNewAE(), antlr3VectorNew(), deleteChild(), and replaceChildren().
| ANTLR3_UINT32(* ANTLR3_VECTOR_struct::set)(struct ANTLR3_VECTOR_struct *vector, ANTLR3_UINT32 entry, void *element, void(ANTLR3_CDECL *freeptr)(void *), ANTLR3_BOOLEAN freeExisting) |
Referenced by antlr3VectorNew(), newRaw16(), newRaw8(), replaceChildren(), and setChild().
| ANTLR3_UINT32(* ANTLR3_VECTOR_struct::size)(struct ANTLR3_VECTOR_struct *vector) |
Referenced by addChild(), antlr3VectorNew(), dupTree(), getChild(), getChildCount(), getFirstChildWithType(), hasNext(), replaceChildren(), and toStringTree().
1.5.5