ANTLR3_INT_TRIE_NODE_struct Struct Reference

#include <antlr3collections.h>

Collaboration diagram for ANTLR3_INT_TRIE_NODE_struct:

Collaboration graph
[legend]

Detailed Description

Structure that defines an element/node in an ANTLR3_INT_TRIE.

Data Fields

ANTLR3_UINT32 bitNum
 This is the left/right bit index for traversal along the nodes.
pANTLR3_TRIE_ENTRY buckets
 This is the data bucket(s) that the key indexes, which may be NULL.
ANTLR3_INTKEY key
 This is the actual key that the entry represents if it is a terminal node.
struct
ANTLR3_INT_TRIE_NODE_struct
leftN
 Pointer to the left node from here when sKey & bitNum = 0.
struct
ANTLR3_INT_TRIE_NODE_struct
rightN
 Pointer to the right node from here when sKey & bitNum, = 1.

Field Documentation

This is the left/right bit index for traversal along the nodes.

Referenced by antlr3IntTrieNew(), freeIntNode(), intTrieAdd(), and intTrieGet().

This is the data bucket(s) that the key indexes, which may be NULL.

Referenced by freeIntNode(), intTrieAdd(), and intTrieGet().

This is the actual key that the entry represents if it is a terminal node.

Referenced by intTrieAdd(), and intTrieGet().

Pointer to the left node from here when sKey & bitNum = 0.

Referenced by antlr3IntTrieNew(), freeIntNode(), intTrieAdd(), and intTrieGet().

Pointer to the right node from here when sKey & bitNum, = 1.

Referenced by antlr3IntTrieNew(), freeIntNode(), intTrieAdd(), and intTrieGet().


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

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