Lines Matching refs:SourceSelectionKind

51                         SourceSelectionKind::None));  in ASTSelectionFinder()
95 SourceSelectionKind SelectionKind = in TraverseDecl()
123 SourceSelectionKind SelectionKind = in TraverseStmt()
133 void popAndAddToSelectionIfSelected(SourceSelectionKind SelectionKind) { in popAndAddToSelectionIfSelected()
136 if (SelectionKind != SourceSelectionKind::None || !Node.Children.empty()) in popAndAddToSelectionIfSelected()
140 SourceSelectionKind selectionKindFor(CharSourceRange Range) { in selectionKindFor()
146 return SourceSelectionKind::None; in selectionKindFor()
150 return SourceSelectionKind::ContainsSelection; in selectionKindFor()
151 return SourceSelectionKind::None; in selectionKindFor()
156 return SourceSelectionKind::ContainsSelection; in selectionKindFor()
159 return SourceSelectionKind::InsideSelection; in selectionKindFor()
163 return SourceSelectionKind::ContainsSelectionStart; in selectionKindFor()
165 return SourceSelectionKind::ContainsSelectionEnd; in selectionKindFor()
167 return SourceSelectionKind::None; in selectionKindFor()
200 static const char *selectionKindToString(SourceSelectionKind Kind) { in selectionKindToString()
202 case SourceSelectionKind::None: in selectionKindToString()
204 case SourceSelectionKind::ContainsSelection: in selectionKindToString()
206 case SourceSelectionKind::ContainsSelectionStart: in selectionKindToString()
208 case SourceSelectionKind::ContainsSelectionEnd: in selectionKindToString()
210 case SourceSelectionKind::InsideSelection: in selectionKindToString()
239 SourceSelectionKind Kind) { in hasAnyDirectChildrenWithKind()
240 assert(Kind != SourceSelectionKind::None && "invalid predicate!"); in hasAnyDirectChildrenWithKind()
244 if (Child.SelectionKind == SourceSelectionKind::None) in hasAnyDirectChildrenWithKind()
344 SourceSelectionKind Kind, in findDeepestWithKind()
374 SourceSelectionKind Kind) { in findDeepestWithKind()
387 SourceSelectionKind::ContainsSelection); in create()