Lines Matching defs:obj
85 level with `obj' pointing to the actual content. */
88 void *obj; /* Pointer to actual node. */
141 tre_ast_new_node(tre_mem_t mem, int type, void *obj)
144 if (!node || !obj)
146 node->obj = obj;
1119 c->right->obj = node->obj;
1127 node->obj = c;
1150 c->left->obj = node->obj;
1158 node->obj = c;
1329 tre_literal_t *lit = node->obj;
1372 tre_catenation_t *cat = node->obj;
1405 tre_iteration_t *iter = node->obj;
1455 tre_union_t *uni = node->obj;
1549 node->num_tags = ((tre_iteration_t *)node->obj)->arg->num_tags
1585 node->num_tags = ((tre_catenation_t *)node->obj)->left->num_tags
1586 + ((tre_catenation_t *)node->obj)->right->num_tags;
1607 node->num_tags = ((tre_union_t *)node->obj)->left->num_tags
1608 + ((tre_union_t *)node->obj)->right->num_tags + added_tags
1719 tre_literal_t *lit = node->obj;
1748 tre_literal_t *p = (*result)->obj;
1759 tre_union_t *uni = node->obj;
1767 tmp = (*result)->obj;
1779 tre_catenation_t *cat = node->obj;
1787 tmp = (*result)->obj;
1802 tre_iteration_t *iter = node->obj;
1812 iter = (*result)->obj;
1864 tre_literal_t *lit= node->obj;
1875 tre_union_t *uni = node->obj;
1884 tre_catenation_t *cat = node->obj;
1893 tre_iteration_t *iter = node->obj;
1914 tre_iteration_t *iter = node->obj;
1990 node->obj = seq1->obj;
2157 lit = (tre_literal_t *)node->obj;
2197 uni = (tre_union_t *)node->obj;
2208 cat = (tre_catenation_t *)node->obj;
2218 iter = (tre_iteration_t *)node->obj;
2265 tre_literal_t *lit = (tre_literal_t *)node->obj;
2319 STACK_PUSHR(stack, voidptr, ((tre_union_t *)node->obj)->right);
2321 STACK_PUSHR(stack, voidptr, ((tre_union_t *)node->obj)->left);
2330 STACK_PUSHR(stack, voidptr, ((tre_catenation_t *)node->obj)->right);
2332 STACK_PUSHR(stack, voidptr, ((tre_catenation_t *)node->obj)->left);
2341 STACK_PUSHR(stack, voidptr, ((tre_iteration_t *)node->obj)->arg);
2349 tre_union_t *uni = (tre_union_t *)node->obj;
2364 tre_iteration_t *iter = (tre_iteration_t *)node->obj;
2379 tre_catenation_t *cat = node->obj;
2638 uni = (tre_union_t *)node->obj;
2646 cat = (tre_catenation_t *)node->obj;
2660 iter = (tre_iteration_t *)node->obj;