Lines Matching refs:Parser
38 struct Parser::TokenInfo {
64 const char* const Parser::TokenInfo::ID_Bind = "bind";
67 class Parser::CodeTokenizer {
305 Parser::Sema::~Sema() = default;
307 std::vector<ArgKind> Parser::Sema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
313 Parser::Sema::getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
317 struct Parser::ScopedContextEntry {
318 Parser *P;
320 ScopedContextEntry(Parser *P, MatcherCtor C) : P(P) { in ScopedContextEntry()
338 bool Parser::parseIdentifierPrefixImpl(VariantValue *Value) { in parseIdentifierPrefixImpl()
385 bool Parser::parseBindID(std::string &BindID) { in parseBindID()
426 bool Parser::parseMatcherExpressionImpl(const TokenInfo &NameToken, in parseMatcherExpressionImpl()
510 void Parser::addCompletion(const TokenInfo &CompToken, in addCompletion()
519 std::vector<MatcherCompletion> Parser::getNamedValueCompletions( in getNamedValueCompletions()
534 void Parser::addExpressionCompletions() { in addExpressionCompletions()
558 bool Parser::parseExpressionImpl(VariantValue *Value) { in parseExpressionImpl()
593 static llvm::ManagedStatic<Parser::RegistrySema> DefaultRegistrySema;
595 Parser::Parser(CodeTokenizer *Tokenizer, Sema *S, in Parser() function in clang::ast_matchers::dynamic::Parser
600 Parser::RegistrySema::~RegistrySema() = default;
603 Parser::RegistrySema::lookupMatcherCtor(StringRef MatcherName) { in lookupMatcherCtor()
607 VariantMatcher Parser::RegistrySema::actOnMatcherExpression( in actOnMatcherExpression()
618 std::vector<ArgKind> Parser::RegistrySema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
623 std::vector<MatcherCompletion> Parser::RegistrySema::getMatcherCompletions( in getMatcherCompletions()
628 bool Parser::parseExpression(StringRef Code, Sema *S, in parseExpression()
632 if (!Parser(&Tokenizer, S, NamedValues, Error).parseExpressionImpl(Value)) in parseExpression()
643 Parser::completeExpression(StringRef Code, unsigned CompletionOffset, Sema *S, in completeExpression()
647 Parser P(&Tokenizer, S, NamedValues, &Error); in completeExpression()
663 Parser::parseMatcherExpression(StringRef Code, Sema *S, in parseMatcherExpression()