Lines Matching full:move
59 T.Replacement = std::move(*Replacement); in translateEdits()
65 T.Note = std::move(*Note); in translateEdits()
71 T.Metadata = std::move(*Metadata); in translateEdits()
73 Edits.push_back(std::move(T)); in translateEdits()
79 return [Edits = std::move(Edits)](const MatchResult &Result) { in editList()
85 return [Edit = std::move(Edit)](const MatchResult &Result) { in edit()
91 return [Anchor = std::move(Anchor)](const MatchResult &Result) in noopEdit()
111 return std::move(Generators[0]); in flattenVector()
113 [Gs = std::move(Generators)]( in flattenVector()
128 E.TargetRange = std::move(Target); in changeTo()
129 E.Replacement = std::move(Replacement); in changeTo()
136 E.Note = std::move(Note); in note()
146 SimpleTextGenerator(std::string S) : S(std::move(S)) {} in SimpleTextGenerator()
159 return std::make_shared<SimpleTextGenerator>(std::move(S)); in makeText()
163 return change(std::move(S), makeText("")); in remove()
187 return editList(std::move(Edits)); in makeEditGenerator()
191 return edit(std::move(Edit)); in makeEditGenerator()
197 R.Cases = {{std::move(M), std::move(Edits)}}; in makeRule()
203 return detail::makeRule(std::move(M), in makeRule()
204 detail::makeEditGenerator(std::move(Edits))); in makeRule()
219 : Nodes(std::move(Nodes)), InnerMatcher(std::move(InnerMatcher)) {} in BindingsMatcher()
228 *Builder = std::move(Result); in matches()
247 : DescendantMatcher(std::move(DescendantMatcher)) {} in DynamicForEachDescendantMatcher()
263 std::move(Nodes), in forEachDescendantDynamically()
265 new DynamicForEachDescendantMatcher<T>(std::move(M))))); in forEachDescendantDynamically()
270 ApplyRuleCallback(RewriteRule Rule) : Rule(std::move(Rule)) {} in ApplyRuleCallback()
302 ApplyRuleCallback Callback(std::move(Rule)); in rewriteDescendantsImpl()
306 return std::move(Callback.Edits); in rewriteDescendantsImpl()
312 return rewriteDescendantsImpl(Node, std::move(Rule), Result); in rewriteDescendants()
318 return rewriteDescendantsImpl(Node, std::move(Rule), Result); in rewriteDescendants()
324 return rewriteDescendantsImpl(Node, std::move(Rule), Result); in rewriteDescendants()
332 return rewriteDescendantsImpl(*Node, std::move(Rule), Result); in rewriteDescendants()
334 return rewriteDescendantsImpl(*Node, std::move(Rule), Result); in rewriteDescendants()
336 return rewriteDescendantsImpl(*Node, std::move(Rule), Result); in rewriteDescendants()
346 return [NodeId = std::move(NodeId), in rewriteDescendants()
347 Rule = std::move(Rule)](const MatchResult &Result) in rewriteDescendants()
355 return detail::rewriteDescendants(It->second, std::move(Rule), Result); in rewriteDescendants()
362 Case.Edits = flatten(std::move(Case.Edits), addInclude(Header, Format)); in addInclude()
392 : std::move(M)); in taggedMatchers()