Skip to content

Commit cf273f8

Browse files
committed
Format.
1 parent 01f2887 commit cf273f8

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Sources/SwiftLexicalLookup/IntroducingToSequentialParentScopeSyntax.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import SwiftSyntax
1515
protocol IntroducingToSequentialParentScopeSyntax: ScopeSyntax {
1616
/// Returns all names introduced to parent.
1717
var namesIntroducedToSequentialParent: [LookupName] { get }
18-
18+
1919
/// Returns results matching lookup that should be
2020
/// interleaved with results of the sequential parent.
2121
func lookupFromSequentialParent(

Sources/SwiftLexicalLookup/LookupName.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ import SwiftSyntax
6161
}
6262
}
6363

64-
/// Note that `self` and `Self` are treated as identifiers for name lookup purposes
64+
/// Note that `self` and `Self` are treated as identifiers for name lookup purposes
6565
/// and that a variable named `self` can shadow the `self` keyword. For example.
6666
///
6767
///
@@ -150,8 +150,8 @@ import SwiftSyntax
150150
var accessibleAfter: AbsolutePosition? {
151151
switch self {
152152
case .identifier(_, let absolutePosition),
153-
.self(_, let absolutePosition),
154-
.Self(_, let absolutePosition):
153+
.self(_, let absolutePosition),
154+
.Self(_, let absolutePosition):
155155
return absolutePosition
156156
default:
157157
return nil

Sources/SwiftLexicalLookup/ScopeImplementations.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,11 @@ import SwiftSyntax
301301
LookupName.getNames(from: element.condition, accessibleAfter: element.endPosition)
302302
}
303303
}
304-
304+
305305
@_spi(Experimental) public var introducedNames: [LookupName] {
306306
[]
307307
}
308-
308+
309309
/// Returns results matching lookup that should be
310310
/// interleaved with sequential parent's results.
311311
/// Lookup triggered from within of the `else` body

Sources/SwiftSyntax/Identifier.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ public struct RawIdentifier: Equatable, Hashable, Sendable {
6262
self.name = raw.rawText
6363
}
6464
}
65-
65+
6666
fileprivate init(_ staticString: StaticString) {
6767
self.init(SyntaxText(staticString))
6868
}
69-
69+
7070
fileprivate init(_ syntaxText: SyntaxText) {
7171
name = syntaxText
7272
}

0 commit comments

Comments
 (0)