antlr3-table (3) - Linux Manuals

NAME

ANTLR3_HASH_ENUM_struct -

Internal structure representing an enumeration of a table.

SYNOPSIS


#include <antlr3collections.h>

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

Detailed Description

Internal structure representing an enumeration of a table.

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.

Field Documentation

ANTLR3_UINT32 ANTLR3_HASH_ENUM_struct::bucket

Referenced by antlr3EnumNew(), antlr3EnumNext(), and antlr3EnumNextEntry().

pANTLR3_HASH_ENTRY ANTLR3_HASH_ENUM_struct::entry

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

pANTLR3_HASH_TABLE ANTLR3_HASH_ENUM_struct::table

Referenced by antlr3EnumNew(), antlr3EnumNext(), and antlr3EnumNextEntry().

Author

Generated automatically by Doxygen for ANTLR3C from the source code.