Lines Matching refs:baseTree
117 factory->unTruc.baseTree.strFactory = strFactory; in antlr3ArboretumNew()
196 tree->baseTree.strFactory = factory->unTruc.baseTree.strFactory; in newPoolTree()
203 tree->baseTree.super = tree; in newPoolTree()
208 return &(tree->baseTree); in newPoolTree()
227 newTree->u = tree->baseTree.u; // Copy any user pointer in newFromTree()
293 antlr3BaseTreeNew(&(tree->baseTree)); in antlr3SetCTAPI()
299 tree->baseTree.super = tree; in antlr3SetCTAPI()
303 tree->baseTree.isNilNode = isNilNode; in antlr3SetCTAPI()
304 tree->baseTree.toString = toString; in antlr3SetCTAPI()
305 tree->baseTree.dupNode = (void *(*)(pANTLR3_BASE_TREE))(dupNode); in antlr3SetCTAPI()
306 tree->baseTree.getLine = getLine; in antlr3SetCTAPI()
307 tree->baseTree.getCharPositionInLine = getCharPositionInLine; in antlr3SetCTAPI()
308 tree->baseTree.toString = toString; in antlr3SetCTAPI()
309 tree->baseTree.getType = getType; in antlr3SetCTAPI()
310 tree->baseTree.getText = getText; in antlr3SetCTAPI()
311 tree->baseTree.getToken = getToken; in antlr3SetCTAPI()
312 tree->baseTree.getParent = getParent; in antlr3SetCTAPI()
313 tree->baseTree.setParent = setParent; in antlr3SetCTAPI()
314 tree->baseTree.setChildIndex = setChildIndex; in antlr3SetCTAPI()
315 tree->baseTree.getChildIndex = getChildIndex; in antlr3SetCTAPI()
316 tree->baseTree.createChildrenList = createChildrenList; in antlr3SetCTAPI()
317 tree->baseTree.reuse = reuse; in antlr3SetCTAPI()
318 tree->baseTree.free = NULL; // Factory trees have no free function in antlr3SetCTAPI()
319 tree->baseTree.u = NULL; // Initialize user pointer in antlr3SetCTAPI()
321 tree->baseTree.children = NULL; in antlr3SetCTAPI()
506 return & (((pANTLR3_COMMON_TREE)(tree->super))->parent->baseTree); in getParent()
539 if (cTree->baseTree.children != NULL) in reuse()
542 cTree->baseTree.children->clear(cTree->baseTree.children); in reuse()