#include <antlr3collections.h>
This is returned by antlr3Enumeration() Allows the programmer to traverse the table in hash order without knowing what is in the actual table.
Note that it is up to the caller to ensure that the table structure does not change in the hash bucket that is currently being enumerated as this structure just tracks the next pointers in the bucket series.
Data Fields | |
ANTLR3_UINT32 | bucket |
pANTLR3_HASH_ENTRY | entry |
void(* | free )(struct ANTLR3_HASH_ENUM_struct *table) |
int(* | next )(struct ANTLR3_HASH_ENUM_struct *en, pANTLR3_HASH_KEY *key, void **data) |
pANTLR3_HASH_TABLE | table |
Referenced by antlr3EnumNew(), antlr3EnumNext(), and antlr3EnumNextEntry().
Referenced by antlr3EnumNew(), antlr3EnumNext(), and antlr3EnumNextEntry().
void(* ANTLR3_HASH_ENUM_struct::free)(struct ANTLR3_HASH_ENUM_struct *table) |
Referenced by antlr3BitsetList(), and antlr3EnumNew().
int(* ANTLR3_HASH_ENUM_struct::next)(struct ANTLR3_HASH_ENUM_struct *en, pANTLR3_HASH_KEY *key, void **data) |
Referenced by antlr3BitsetList(), and antlr3EnumNew().
Referenced by antlr3EnumNew(), antlr3EnumNext(), and antlr3EnumNextEntry().