Searched refs:findLastLeaf (Results 1 – 4 of 4) sorted by relevance
211 const Leaf *findLastLeaf() const;212 Leaf *findLastLeaf() { in findLastLeaf() function213 return const_cast<Leaf *>(const_cast<const Tree *>(this)->findLastLeaf()); in findLastLeaf()
322 const syntax::Leaf *syntax::Tree::findLastLeaf() const { in findLastLeaf() function in syntax::Tree326 if (const auto *L = cast<syntax::Tree>(C)->findLastLeaf()) in findLastLeaf()
124 ASSERT_TRUE(Tree->findLastLeaf() != nullptr); in TEST_P()125 EXPECT_EQ(Tree->findLastLeaf()->getToken()->kind(), tok::r_paren); in TEST_P()
44 T->findLastLeaf()->getToken() + 1); in tokens()