Searched refs:findFirstLeaf (Results 1 – 4 of 4) sorted by relevance
206 const Leaf *findFirstLeaf() const;207 Leaf *findFirstLeaf() { in findFirstLeaf() function208 return const_cast<Leaf *>(const_cast<const Tree *>(this)->findFirstLeaf()); in findFirstLeaf()
312 const syntax::Leaf *syntax::Tree::findFirstLeaf() const { in findFirstLeaf() function in syntax::Tree316 if (const auto *L = cast<syntax::Tree>(C).findFirstLeaf()) in findFirstLeaf()
114 ASSERT_TRUE(Tree->findFirstLeaf() != nullptr); in TEST_P()115 EXPECT_EQ(Tree->findFirstLeaf()->getToken()->kind(), tok::l_paren); in TEST_P()
43 return llvm::makeArrayRef(T->findFirstLeaf()->getToken(), in tokens()