Lines Matching refs:ASTSelection
342 const SelectedASTNode &ASTSelection, in findDeepestWithKind() argument
346 if (ASTSelection.Node.get<DeclStmt>()) { in findDeepestWithKind()
349 for (const auto &Child : ASTSelection.Children) { in findDeepestWithKind()
352 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); in findDeepestWithKind()
357 if (!hasAnyDirectChildrenWithKind(ASTSelection, Kind)) { in findDeepestWithKind()
360 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); in findDeepestWithKind()
365 ParentStack.push_back(std::cref(ASTSelection)); in findDeepestWithKind()
366 for (const auto &Child : ASTSelection.Children) in findDeepestWithKind()
372 const SelectedASTNode &ASTSelection, in findDeepestWithKind() argument
376 findDeepestWithKind(ASTSelection, MatchingNodes, Kind, ParentStack); in findDeepestWithKind()
381 const SelectedASTNode &ASTSelection) { in create() argument
386 findDeepestWithKind(ASTSelection, ContainSelection, in create()