ANTLR3C  3.3.1
ANTLR3_HASH_ENUM_struct Struct Reference

Internal structure representing an enumeration of a table. More...

#include <antlr3collections.h>

Collaboration diagram for ANTLR3_HASH_ENUM_struct:

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


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