Searched refs:findChild (Results 1 – 3 of 3) sorted by relevance
201 findChild(syntax::NodeRole::LeftHandSide)); in getLhs()205 return cast_or_null<syntax::Leaf>(findChild(syntax::NodeRole::OperatorToken)); in getOperatorToken()209 return cast_or_null<syntax::Expression>(findChild(syntax::NodeRole::Operand)); in getOperand()213 return cast_or_null<syntax::Leaf>(findChild(syntax::NodeRole::OperatorToken)); in getOperatorToken()218 findChild(syntax::NodeRole::RightHandSide)); in getRhs()223 findChild(syntax::NodeRole::IntroducerKeyword)); in getSwitchKeyword()228 findChild(syntax::NodeRole::BodyStatement)); in getBody()233 findChild(syntax::NodeRole::IntroducerKeyword)); in getCaseKeyword()238 findChild(syntax::NodeRole::CaseValue)); in getCaseValue()243 findChild(syntax::NodeRole::BodyStatement)); in getBody()[all …]
303 const syntax::Node *syntax::Tree::findChild(NodeRole R) const { in findChild() function in syntax::Tree
213 const Node *findChild(NodeRole R) const;214 Node *findChild(NodeRole R) { in findChild() function215 return const_cast<Node *>(const_cast<const Tree *>(this)->findChild(R)); in findChild()