Lines Matching refs:DynNode
23 bool NotUnaryOperator(const ast_type_traits::DynTypedNode &DynNode,
27 bool AllOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode,
32 bool EachOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode,
37 bool AnyOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode,
54 const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder,
63 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() argument
66 return Func(DynNode, Finder, Builder, InnerMatchers); in dynMatches()
79 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() argument
82 bool Result = InnerMatcher->dynMatches(DynNode, Finder, Builder); in dynMatches()
83 if (Result) Builder->setBinding(ID, DynNode); in dynMatches()
181 bool DynTypedMatcher::matches(const ast_type_traits::DynTypedNode &DynNode, in matches() argument
184 if (RestrictKind.isBaseOf(DynNode.getNodeKind()) && in matches()
185 Implementation->dynMatches(DynNode, Finder, Builder)) { in matches()
196 const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, in matchesNoKindCheck() argument
198 assert(RestrictKind.isBaseOf(DynNode.getNodeKind())); in matchesNoKindCheck()
199 if (Implementation->dynMatches(DynNode, Finder, Builder)) { in matchesNoKindCheck()
231 bool NotUnaryOperator(const ast_type_traits::DynTypedNode &DynNode, in NotUnaryOperator() argument
248 return !InnerMatchers[0].matches(DynNode, Finder, &Discard); in NotUnaryOperator()
251 bool AllOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, in AllOfVariadicOperator() argument
259 if (!InnerMatcher.matchesNoKindCheck(DynNode, Finder, Builder)) in AllOfVariadicOperator()
265 bool EachOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, in EachOfVariadicOperator() argument
273 if (InnerMatcher.matches(DynNode, Finder, &BuilderInner)) { in EachOfVariadicOperator()
282 bool AnyOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, in AnyOfVariadicOperator() argument
288 if (InnerMatcher.matches(DynNode, Finder, &Result)) { in AnyOfVariadicOperator()