Lines Matching refs:Tree
21 if (auto *T = dyn_cast<syntax::Tree>(N)) { in traverse()
52 void syntax::Tree::appendChildLowLevel(Node *Child, NodeRole Role) { in appendChildLowLevel()
60 void syntax::Tree::appendChildLowLevel(Node *Child) { in appendChildLowLevel()
76 void syntax::Tree::prependChildLowLevel(Node *Child, NodeRole Role) { in prependChildLowLevel()
84 void syntax::Tree::prependChildLowLevel(Node *Child) { in prependChildLowLevel()
100 void syntax::Tree::replaceChildRangeLowLevel(Node *Begin, Node *End, in replaceChildRangeLowLevel()
195 const auto *T = cast<syntax::Tree>(N); in dumpNode()
246 const auto *T = dyn_cast<Tree>(this); in assertInvariants()
283 const syntax::Leaf *syntax::Tree::findFirstLeaf() const { in findFirstLeaf()
287 if (const auto *L = cast<syntax::Tree>(C).findFirstLeaf()) in findFirstLeaf()
293 const syntax::Leaf *syntax::Tree::findLastLeaf() const { in findLastLeaf()
297 if (const auto *L = cast<syntax::Tree>(C)->findLastLeaf()) in findLastLeaf()
303 const syntax::Node *syntax::Tree::findChild(NodeRole R) const { in findChild()