Files
swift-mirror/test/SourceKit/Refactoring/semantic-refactoring/extract-func-with-args.swift.expected
Argyrios Kyrtzidis 60a91bb736 [refactoring] Upstreaming the implementation for Swift local refactoring (#11568)
[refactoring] Upstreaming the implementation for Swift local refactoring
2017-08-22 16:50:16 -07:00

14 lines
575 B
Plaintext

source.edit.kind.active:
1:1-1:1 "fileprivate func new_name(_ a: inout Int) {
a = a + 1
}
"
<note>source.refactoring.range.kind.basename 1:18-1:26 "new_name"</note>
<note>source.refactoring.range.kind.decl-argument-label 1:27-1:28 arg-index=0 "_"</note>
<note>source.refactoring.range.kind.parameter-and-whitespace 1:28-1:30 arg-index=0 " a"</note>
source.edit.kind.active:
3:3-3:12 "new_name(&a)"
<note>source.refactoring.range.kind.basename 1:1-1:9 "new_name"</note>
<note>source.refactoring.range.kind.call-argument-combined 1:10-1:10 arg-index=0 ""</note>