Lines Matching refs:DynNode
24 bool NotUnaryOperator(const ast_type_traits::DynTypedNode &DynNode,
28 bool AllOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode,
33 bool EachOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode,
38 bool AnyOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode,
55 const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder,
64 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() argument
67 return Func(DynNode, Finder, Builder, InnerMatchers); in dynMatches()
80 bool dynMatches(const ast_type_traits::DynTypedNode &DynNode, in dynMatches() argument
83 bool Result = InnerMatcher->dynMatches(DynNode, Finder, Builder); in dynMatches()
84 if (Result) Builder->setBinding(ID, DynNode); in dynMatches()
182 bool DynTypedMatcher::matches(const ast_type_traits::DynTypedNode &DynNode, in matches() argument
185 if (RestrictKind.isBaseOf(DynNode.getNodeKind()) && in matches()
186 Implementation->dynMatches(DynNode, Finder, Builder)) { in matches()
197 const ast_type_traits::DynTypedNode &DynNode, ASTMatchFinder *Finder, in matchesNoKindCheck() argument
199 assert(RestrictKind.isBaseOf(DynNode.getNodeKind())); in matchesNoKindCheck()
200 if (Implementation->dynMatches(DynNode, Finder, Builder)) { in matchesNoKindCheck()
232 bool NotUnaryOperator(const ast_type_traits::DynTypedNode &DynNode, in NotUnaryOperator() argument
249 return !InnerMatchers[0].matches(DynNode, Finder, &Discard); in NotUnaryOperator()
252 bool AllOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, in AllOfVariadicOperator() argument
260 if (!InnerMatcher.matchesNoKindCheck(DynNode, Finder, Builder)) in AllOfVariadicOperator()
266 bool EachOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, in EachOfVariadicOperator() argument
274 if (InnerMatcher.matches(DynNode, Finder, &BuilderInner)) { in EachOfVariadicOperator()
283 bool AnyOfVariadicOperator(const ast_type_traits::DynTypedNode &DynNode, in AnyOfVariadicOperator() argument
289 if (InnerMatcher.matches(DynNode, Finder, &Result)) { in AnyOfVariadicOperator()