Lines Matching refs:SourceSelectionKind

52                         SourceSelectionKind::None));  in ASTSelectionFinder()
96 SourceSelectionKind SelectionKind = in TraverseDecl()
124 SourceSelectionKind SelectionKind = in TraverseStmt()
134 void popAndAddToSelectionIfSelected(SourceSelectionKind SelectionKind) { in popAndAddToSelectionIfSelected()
137 if (SelectionKind != SourceSelectionKind::None || !Node.Children.empty()) in popAndAddToSelectionIfSelected()
141 SourceSelectionKind selectionKindFor(CharSourceRange Range) { in selectionKindFor()
147 return SourceSelectionKind::None; in selectionKindFor()
151 return SourceSelectionKind::ContainsSelection; in selectionKindFor()
152 return SourceSelectionKind::None; in selectionKindFor()
157 return SourceSelectionKind::ContainsSelection; in selectionKindFor()
160 return SourceSelectionKind::InsideSelection; in selectionKindFor()
164 return SourceSelectionKind::ContainsSelectionStart; in selectionKindFor()
166 return SourceSelectionKind::ContainsSelectionEnd; in selectionKindFor()
168 return SourceSelectionKind::None; in selectionKindFor()
201 static const char *selectionKindToString(SourceSelectionKind Kind) { in selectionKindToString()
203 case SourceSelectionKind::None: in selectionKindToString()
205 case SourceSelectionKind::ContainsSelection: in selectionKindToString()
207 case SourceSelectionKind::ContainsSelectionStart: in selectionKindToString()
209 case SourceSelectionKind::ContainsSelectionEnd: in selectionKindToString()
211 case SourceSelectionKind::InsideSelection: in selectionKindToString()
240 SourceSelectionKind Kind) { in hasAnyDirectChildrenWithKind()
241 assert(Kind != SourceSelectionKind::None && "invalid predicate!"); in hasAnyDirectChildrenWithKind()
245 if (Child.SelectionKind == SourceSelectionKind::None) in hasAnyDirectChildrenWithKind()
345 SourceSelectionKind Kind, in findDeepestWithKind()
375 SourceSelectionKind Kind) { in findDeepestWithKind()
388 SourceSelectionKind::ContainsSelection); in create()