Lines Matching refs:Builder
25 ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder,
30 BoundNodesTreeBuilder *Builder,
35 BoundNodesTreeBuilder *Builder,
40 BoundNodesTreeBuilder *Builder,
56 BoundNodesTreeBuilder *Builder, ArrayRef<DynTypedMatcher> InnerMatchers);
66 BoundNodesTreeBuilder *Builder) const override {
67 return Func(DynNode, Finder, Builder, InnerMatchers);
82 BoundNodesTreeBuilder *Builder) const override {
83 bool Result = InnerMatcher->dynMatches(DynNode, Finder, Builder);
84 if (Result) Builder->setBinding(ID, DynNode);
184 BoundNodesTreeBuilder *Builder) const {
186 Implementation->dynMatches(DynNode, Finder, Builder)) {
192 Builder->removeBindings([](const BoundNodesMap &) { return true; });
198 BoundNodesTreeBuilder *Builder) const {
200 if (Implementation->dynMatches(DynNode, Finder, Builder)) {
206 Builder->removeBindings([](const BoundNodesMap &) { return true; });
233 ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder,
248 BoundNodesTreeBuilder Discard(*Builder);
254 BoundNodesTreeBuilder *Builder,
258 // Thus, we can reuse the same Builder.
260 if (!InnerMatcher.matchesNoKindCheck(DynNode, Finder, Builder))
268 BoundNodesTreeBuilder *Builder,
273 BoundNodesTreeBuilder BuilderInner(*Builder);
279 *Builder = std::move(Result);
285 BoundNodesTreeBuilder *Builder,
288 BoundNodesTreeBuilder Result = *Builder;
290 *Builder = std::move(Result);