Lines Matching refs:newTree
97 factory->newTree = newPoolTree; in antlr3ArboretumNew()
215 pANTLR3_BASE_TREE newTree; in newFromTree() local
217 newTree = factory->newTree(factory); in newFromTree()
219 if (newTree == NULL) in newFromTree()
226 ((pANTLR3_COMMON_TREE)(newTree->super))->token = tree->token; in newFromTree()
227 newTree->u = tree->baseTree.u; // Copy any user pointer in newFromTree()
229 return newTree; in newFromTree()
235 pANTLR3_BASE_TREE newTree; in newFromToken() local
237 newTree = factory->newTree(factory); in newFromToken()
239 if (newTree == NULL) in newFromToken()
246 ((pANTLR3_COMMON_TREE)(newTree->super))->token = token; in newFromToken()
248 return newTree; in newFromToken()
355 pANTLR3_COMMON_TREE newTree; in antlr3CommonTreeNewFromToken() local
357 newTree = antlr3CommonTreeNew(); in antlr3CommonTreeNewFromToken()
359 if (newTree == NULL) in antlr3CommonTreeNewFromToken()
366 newTree->token = token; in antlr3CommonTreeNewFromToken()
367 return newTree; in antlr3CommonTreeNewFromToken()