Lines Matching refs:Tree
21 if (auto *T = dyn_cast<syntax::Tree>(N)) { in traverse()
70 void syntax::Tree::appendChildLowLevel(Node *Child, NodeRole Role) { in appendChildLowLevel()
78 void syntax::Tree::appendChildLowLevel(Node *Child) { in appendChildLowLevel()
94 void syntax::Tree::prependChildLowLevel(Node *Child, NodeRole Role) { in prependChildLowLevel()
102 void syntax::Tree::prependChildLowLevel(Node *Child) { in prependChildLowLevel()
118 void syntax::Tree::replaceChildRangeLowLevel(Node *Begin, Node *End, in replaceChildRangeLowLevel()
225 const auto *T = cast<syntax::Tree>(N); in dumpNode()
276 const auto *T = dyn_cast<Tree>(this); in assertInvariants()
312 const syntax::Leaf *syntax::Tree::findFirstLeaf() const { in findFirstLeaf()
316 if (const auto *L = cast<syntax::Tree>(C).findFirstLeaf()) in findFirstLeaf()
322 const syntax::Leaf *syntax::Tree::findLastLeaf() const { in findLastLeaf()
326 if (const auto *L = cast<syntax::Tree>(C)->findLastLeaf()) in findLastLeaf()
332 const syntax::Node *syntax::Tree::findChild(NodeRole R) const { in findChild()