Lines Matching refs:node
113 * Function: Dumps the binding information for a node of the nametable tree.
135 printf ("\tBinding node at: %p \n", p);
149 * Function: Dumps a node of the nametable tree.
163 NAMETABLE_id_t node
167 node->id, /* The id string */
168 (char *) node ); /* The address of the node */
170 if (node->parent != NULL) {
172 node->parent, /* The address of the parent */
173 node->parent->id); /* The id string of parent */
178 if (node->left != NULL) {
180 node->left, /* The address of the left child */
181 node->left->id); /* The id string of l. child */
186 if (node->right != NULL) {
188 node->right, /* The address of the right child */
189 node->right->id); /* The id string of r. child */
194 if (node->bindings != NULL) {
196 node->bindings);
198 node->id);
199 NAMETABLE_dump_bindings_4_node (node->bindings);
204 if (node->tagBinding != NULL) {
206 node->tagBinding);
208 node->id);
209 NAMETABLE_dump_bindings_4_node (node->tagBinding);
217 * First dumps the left subtree bottom up, then the root node,
220 * Inputs: Root node of the tree to be dumped.
232 NAMETABLE_id_t node
235 if (node->left != NULL) {
236 NAMETABLE_dump_nodes (node->left);
239 NAMETABLE_dump_node (node);
241 if (node->right != NULL) {
242 NAMETABLE_dump_nodes (node->right);
271 printf (" Chain block: %p NT node ( %p ): \"%s\"\n",
272 tb, tb->node, tb->node->id );