Lines Matching refs:Ctor
441 llvm::Optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text);
444 return parseMatcherExpressionImpl(NameToken, OpenToken, Ctor, Value);
471 bool Parser::parseMatcherBuilder(MatcherCtor Ctor, const TokenInfo &NameToken,
480 ScopedContextEntry SCE(this, Ctor);
554 S->buildMatcherCtor(Ctor, NameToken.Range, Args, Error);
631 llvm::Optional<MatcherCtor> Ctor,
633 if (!Ctor) {
639 if (Ctor && *Ctor && S->isBuilderMatcher(*Ctor))
640 return parseMatcherBuilder(*Ctor, NameToken, OpenToken, Value);
648 ScopedContextEntry SCE(this, Ctor ? *Ctor : nullptr);
720 if (!Ctor)
729 *Ctor, MatcherRange, BindID, Args, Error);
837 MatcherCtor Ctor, SourceRange NameRange, StringRef BindID,
840 return Registry::constructMatcher(Ctor, NameRange, Args, Error);
842 return Registry::constructBoundMatcher(Ctor, NameRange, BindID, Args,
857 bool Parser::RegistrySema::isBuilderMatcher(MatcherCtor Ctor) const {
858 return Registry::isBuilderMatcher(Ctor);
861 ASTNodeKind Parser::RegistrySema::nodeMatcherType(MatcherCtor Ctor) const {
862 return Registry::nodeMatcherType(Ctor);
866 Parser::RegistrySema::buildMatcherCtor(MatcherCtor Ctor, SourceRange NameRange,
869 return Registry::buildMatcherCtor(Ctor, NameRange, Args, Error);