• Home
  • Raw
  • Download

Lines Matching refs:Parser

29 struct Parser::TokenInfo {
55 const char* const Parser::TokenInfo::ID_Bind = "bind";
58 class Parser::CodeTokenizer {
260 Parser::Sema::~Sema() {} in ~Sema()
262 std::vector<ArgKind> Parser::Sema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
268 Parser::Sema::getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) { in getMatcherCompletions()
272 struct Parser::ScopedContextEntry {
273 Parser *P;
275 ScopedContextEntry(Parser *P, MatcherCtor C) : P(P) { in ScopedContextEntry()
293 bool Parser::parseIdentifierPrefixImpl(VariantValue *Value) { in parseIdentifierPrefixImpl()
325 bool Parser::parseMatcherExpressionImpl(const TokenInfo &NameToken, in parseMatcherExpressionImpl()
439 void Parser::addCompletion(const TokenInfo &CompToken, in addCompletion()
448 std::vector<MatcherCompletion> Parser::getNamedValueCompletions( in getNamedValueCompletions()
463 void Parser::addExpressionCompletions() { in addExpressionCompletions()
487 bool Parser::parseExpressionImpl(VariantValue *Value) { in parseExpressionImpl()
522 static llvm::ManagedStatic<Parser::RegistrySema> DefaultRegistrySema;
524 Parser::Parser(CodeTokenizer *Tokenizer, Sema *S, in Parser() function in clang::ast_matchers::dynamic::Parser
529 Parser::RegistrySema::~RegistrySema() {} in ~RegistrySema()
532 Parser::RegistrySema::lookupMatcherCtor(StringRef MatcherName) { in lookupMatcherCtor()
536 VariantMatcher Parser::RegistrySema::actOnMatcherExpression( in actOnMatcherExpression()
547 std::vector<ArgKind> Parser::RegistrySema::getAcceptedCompletionTypes( in getAcceptedCompletionTypes()
552 std::vector<MatcherCompletion> Parser::RegistrySema::getMatcherCompletions( in getMatcherCompletions()
557 bool Parser::parseExpression(StringRef Code, Sema *S, in parseExpression()
561 if (!Parser(&Tokenizer, S, NamedValues, Error).parseExpressionImpl(Value)) in parseExpression()
572 Parser::completeExpression(StringRef Code, unsigned CompletionOffset, Sema *S, in completeExpression()
576 Parser P(&Tokenizer, S, NamedValues, &Error); in completeExpression()
592 Parser::parseMatcherExpression(StringRef Code, Sema *S, in parseMatcherExpression()