Lines Matching refs:syntax
193 bool shouldIgnore(const syntax::Token &Tok) { in shouldIgnore()
249 SelectionTester(const syntax::TokenBuffer &Buf, FileID SelFile, in SelectionTester()
256 const syntax::Token *SelFirst = in SelectionTester()
257 llvm::partition_point(AllSpelledTokens, [&](const syntax::Token &Tok) { in SelectionTester()
260 const syntax::Token *SelLimit = std::partition_point( in SelectionTester()
261 SelFirst, AllSpelledTokens.end(), [&](const syntax::Token &Tok) { in SelectionTester()
267 for (const syntax::TokenBuffer::Expansion &X : in SelectionTester()
270 for (const syntax::Token &Tok : X.Spelled) { in SelectionTester()
294 test(llvm::ArrayRef<syntax::Token> ExpandedTokens) const { in test()
326 auto Batch = ExpandedTokens.take_while([&](const syntax::Token &T) { in test()
366 llvm::ArrayRef<syntax::Token>
367 computeMaybeSelectedExpandedTokens(const syntax::TokenBuffer &Toks) { in computeMaybeSelectedExpandedTokens()
390 const syntax::Token *Start = llvm::partition_point( in computeMaybeSelectedExpandedTokens()
392 [&, First = SelectedSpelled.front().Offset](const syntax::Token &Tok) { in computeMaybeSelectedExpandedTokens()
404 const syntax::Token *End = std::partition_point( in computeMaybeSelectedExpandedTokens()
406 [&, Last = SelectedSpelled.back().Offset](const syntax::Token &Tok) { in computeMaybeSelectedExpandedTokens()
426 testChunk(FileID FID, llvm::ArrayRef<syntax::Token> Batch) const { in testChunk()
536 llvm::ArrayRef<syntax::Token> MaybeSelectedExpanded;
613 const syntax::TokenBuffer &Tokens, in collect()
726 SelectionVisitor(ASTContext &AST, const syntax::TokenBuffer &Tokens, in SelectionVisitor()
959 const syntax::TokenBuffer &TokenBuf;
962 IntervalSet<syntax::Token> UnclaimedExpandedTokens;
1010 pointBounds(unsigned Offset, const syntax::TokenBuffer &Tokens) { in pointBounds()
1015 for (const syntax::Token &Tok : in pointBounds()
1028 const syntax::TokenBuffer &Tokens, in createEach()
1040 const syntax::TokenBuffer &Tokens, in createRight()
1050 SelectionTree::SelectionTree(ASTContext &AST, const syntax::TokenBuffer &Tokens, in SelectionTree()