@@ -20,8 +20,8 @@ extension Parser {
2020 /// Parse the source code in the given string as Swift source file. See
2121 /// `Parser.init` for more details.
2222 public static func parse(
23- source: String ,
24- parseTransition: IncrementalParseTransition ? = nil
23+ source: String ,
24+ parseTransition: IncrementalParseTransition ? = nil
2525 ) -> SourceFileSyntax {
2626 var parser = Parser ( source)
2727 return SourceFileSyntax . parse ( from: & parser)
@@ -30,9 +30,9 @@ extension Parser {
3030 /// Parse the source code in the given string as Swift source file. See
3131 /// `Parser.init` for more details.
3232 public static func parse(
33- source: UnsafeBufferPointer < UInt8 > ,
34- maximumNestingLevel: Int ? = nil ,
35- parseTransition: IncrementalParseTransition ? = nil
33+ source: UnsafeBufferPointer < UInt8 > ,
34+ maximumNestingLevel: Int ? = nil ,
35+ parseTransition: IncrementalParseTransition ? = nil
3636 ) -> SourceFileSyntax {
3737 var parser = Parser ( source, maximumNestingLevel: maximumNestingLevel)
3838 return SourceFileSyntax . parse ( from: & parser)
@@ -137,6 +137,6 @@ fileprivate extension Parser {
137137
138138 let unexpected = RawUnexpectedNodesSyntax ( elements: remainingTokens, arena: self . arena)
139139 let withUnexpected = layout. replacingChild ( at: layout. children. count - 1 , with: unexpected. raw, arena: self . arena)
140- return R . init ( withUnexpected) !
140+ return R . init ( withUnexpected) !
141141 }
142142}
0 commit comments