ANTLR3_HASH_ENUM_struct Struct Reference

#include <antlr3collections.h>

Collaboration diagram for ANTLR3_HASH_ENUM_struct:

Collaboration graph
[legend]

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.

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


Field Documentation

Referenced by antlr3BitsetList(), and antlr3EnumNew().

Referenced by antlr3BitsetList(), and antlr3EnumNew().


The documentation for this struct was generated from the following file:

Generated on Mon Nov 29 17:24:04 2010 for ANTLR3C by  doxygen 1.5.5