Lines Matching defs:lastpos
94 tre_pos_and_tags_t *lastpos;
1124 c->right->lastpos = NULL;
1155 c->left->lastpos = NULL;
2241 /* Computes and fills in the fields `nullable', `firstpos', and `lastpos' for
2269 lastpos = {i}. */
2275 node->lastpos = tre_set_one(mem, lit->position, 0,
2278 if (!node->lastpos)
2284 nullable = true, firstpos = {}, and lastpos = {}. */
2289 node->lastpos = tre_set_empty(mem);
2290 if (!node->lastpos)
2296 lastpos = {i}. */
2303 node->lastpos = tre_set_one(mem, lit->position,
2308 if (!node->lastpos)
2355 node->lastpos = tre_set_union(mem, uni->left->lastpos,
2356 uni->right->lastpos, NULL, 0);
2357 if (!node->lastpos)
2371 node->lastpos = iter->arg->lastpos;
2419 /* Compute lastpos. */
2444 node->lastpos =
2445 tre_set_union(mem, cat->left->lastpos, cat->right->lastpos,
2448 if (!node->lastpos)
2453 node->lastpos = cat->right->lastpos;
2647 /* Add a transition from each position in cat->left->lastpos
2649 errcode = tre_make_trans(cat->left->lastpos, cat->right->firstpos,
2668 errcode = tre_make_trans(iter->arg->lastpos, iter->arg->firstpos,
2877 tnfa->final = transitions + offs[tree->lastpos[0].position];