Lines Matching refs:syntax

194 bool shouldIgnore(const syntax::Token &Tok) {  in shouldIgnore()
250 SelectionTester(const syntax::TokenBuffer &Buf, FileID SelFile, in SelectionTester()
257 const syntax::Token *SelFirst = in SelectionTester()
258 llvm::partition_point(AllSpelledTokens, [&](const syntax::Token &Tok) { in SelectionTester()
261 const syntax::Token *SelLimit = std::partition_point( in SelectionTester()
262 SelFirst, AllSpelledTokens.end(), [&](const syntax::Token &Tok) { in SelectionTester()
268 for (const syntax::TokenBuffer::Expansion &X : in SelectionTester()
271 for (const syntax::Token &Tok : X.Spelled) { in SelectionTester()
295 test(llvm::ArrayRef<syntax::Token> ExpandedTokens) const { in test()
327 auto Batch = ExpandedTokens.take_while([&](const syntax::Token &T) { in test()
367 llvm::ArrayRef<syntax::Token>
368 computeMaybeSelectedExpandedTokens(const syntax::TokenBuffer &Toks) { in computeMaybeSelectedExpandedTokens()
391 const syntax::Token *Start = llvm::partition_point( in computeMaybeSelectedExpandedTokens()
393 [&, First = SelectedSpelled.front().Offset](const syntax::Token &Tok) { in computeMaybeSelectedExpandedTokens()
405 const syntax::Token *End = std::partition_point( in computeMaybeSelectedExpandedTokens()
407 [&, Last = SelectedSpelled.back().Offset](const syntax::Token &Tok) { in computeMaybeSelectedExpandedTokens()
427 testChunk(FileID FID, llvm::ArrayRef<syntax::Token> Batch) const { in testChunk()
537 llvm::ArrayRef<syntax::Token> MaybeSelectedExpanded;
614 const syntax::TokenBuffer &Tokens, in collect()
742 SelectionVisitor(ASTContext &AST, const syntax::TokenBuffer &Tokens, in SelectionVisitor()
987 const syntax::TokenBuffer &TokenBuf;
990 IntervalSet<syntax::Token> UnclaimedExpandedTokens;
1038 pointBounds(unsigned Offset, const syntax::TokenBuffer &Tokens) { in pointBounds()
1043 for (const syntax::Token &Tok : in pointBounds()
1056 const syntax::TokenBuffer &Tokens, in createEach()
1068 const syntax::TokenBuffer &Tokens, in createRight()
1078 SelectionTree::SelectionTree(ASTContext &AST, const syntax::TokenBuffer &Tokens, in SelectionTree()