Lines Matching refs:Parser

37 struct Parser::TokenInfo {
65 const char* const Parser::TokenInfo::ID_Bind = "bind";
66 const char *const Parser::TokenInfo::ID_With = "with";
69 class Parser::CodeTokenizer {
323 Parser::Sema::~Sema() = default;
325 std::vector<ArgKind> Parser::Sema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
331 Parser::Sema::getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
335 struct Parser::ScopedContextEntry {
336 Parser *P;
338 ScopedContextEntry(Parser *P, MatcherCtor C) : P(P) { in ScopedContextEntry()
356 bool Parser::parseIdentifierPrefixImpl(VariantValue *Value) { in parseIdentifierPrefixImpl()
447 bool Parser::parseBindID(std::string &BindID) { in parseBindID()
471 bool Parser::parseMatcherBuilder(MatcherCtor Ctor, const TokenInfo &NameToken, in parseMatcherBuilder()
629 bool Parser::parseMatcherExpressionImpl(const TokenInfo &NameToken, in parseMatcherExpressionImpl()
738 void Parser::addCompletion(const TokenInfo &CompToken, in addCompletion()
747 std::vector<MatcherCompletion> Parser::getNamedValueCompletions( in getNamedValueCompletions()
762 void Parser::addExpressionCompletions() { in addExpressionCompletions()
786 bool Parser::parseExpressionImpl(VariantValue *Value) { in parseExpressionImpl()
822 static llvm::ManagedStatic<Parser::RegistrySema> DefaultRegistrySema;
824 Parser::Parser(CodeTokenizer *Tokenizer, Sema *S, in Parser() function in clang::ast_matchers::dynamic::Parser
829 Parser::RegistrySema::~RegistrySema() = default;
832 Parser::RegistrySema::lookupMatcherCtor(StringRef MatcherName) { in lookupMatcherCtor()
836 VariantMatcher Parser::RegistrySema::actOnMatcherExpression( in actOnMatcherExpression()
847 std::vector<ArgKind> Parser::RegistrySema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
852 std::vector<MatcherCompletion> Parser::RegistrySema::getMatcherCompletions( in getMatcherCompletions()
857 bool Parser::RegistrySema::isBuilderMatcher(MatcherCtor Ctor) const { in isBuilderMatcher()
861 ASTNodeKind Parser::RegistrySema::nodeMatcherType(MatcherCtor Ctor) const { in nodeMatcherType()
866 Parser::RegistrySema::buildMatcherCtor(MatcherCtor Ctor, SourceRange NameRange, in buildMatcherCtor()
872 bool Parser::parseExpression(StringRef &Code, Sema *S, in parseExpression()
876 if (!Parser(&Tokenizer, S, NamedValues, Error).parseExpressionImpl(Value)) in parseExpression()
888 Parser::completeExpression(StringRef &Code, unsigned CompletionOffset, Sema *S, in completeExpression()
892 Parser P(&Tokenizer, S, NamedValues, &Error); in completeExpression()
908 Parser::parseMatcherExpression(StringRef &Code, Sema *S, in parseMatcherExpression()