mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Preserve whitespace and comments during lexing as Trivia"
This reverts commit d6e2b58382.
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
key.offset: 0,
|
||||
key.length: 21
|
||||
key.length: 22
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
key.offset: 22,
|
||||
key.length: 59
|
||||
key.length: 60
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.keyword,
|
||||
@@ -111,7 +111,7 @@
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
key.offset: 185,
|
||||
key.length: 26
|
||||
key.length: 27
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
@@ -126,7 +126,7 @@
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
key.offset: 245,
|
||||
key.length: 15
|
||||
key.length: 16
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
@@ -138,6 +138,11 @@
|
||||
key.offset: 263,
|
||||
key.length: 20
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
key.offset: 283,
|
||||
key.length: 1
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
key.offset: 284,
|
||||
@@ -148,6 +153,11 @@
|
||||
key.offset: 287,
|
||||
key.length: 20
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
key.offset: 307,
|
||||
key.length: 1
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.keyword,
|
||||
key.offset: 309,
|
||||
@@ -196,22 +206,22 @@
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
key.offset: 360,
|
||||
key.length: 22
|
||||
key.length: 23
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
key.offset: 383,
|
||||
key.length: 3
|
||||
key.length: 4
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
key.offset: 387,
|
||||
key.length: 15
|
||||
key.length: 16
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
key.offset: 403,
|
||||
key.length: 3
|
||||
key.length: 4
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
@@ -226,27 +236,27 @@
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
key.offset: 423,
|
||||
key.length: 1
|
||||
key.length: 2
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
key.offset: 425,
|
||||
key.length: 14
|
||||
key.length: 15
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
key.offset: 440,
|
||||
key.length: 7
|
||||
key.length: 8
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
key.offset: 448,
|
||||
key.length: 32
|
||||
key.length: 33
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
key.offset: 481,
|
||||
key.length: 3
|
||||
key.length: 4
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
@@ -261,7 +271,7 @@
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
key.offset: 500,
|
||||
key.length: 12
|
||||
key.length: 13
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
@@ -276,7 +286,7 @@
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.doccomment,
|
||||
key.offset: 526,
|
||||
key.length: 9
|
||||
key.length: 10
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.keyword,
|
||||
@@ -383,6 +393,11 @@
|
||||
key.offset: 744,
|
||||
key.length: 27
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
key.offset: 771,
|
||||
key.length: 1
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
key.offset: 772,
|
||||
@@ -393,15 +408,20 @@
|
||||
key.offset: 775,
|
||||
key.length: 13
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
key.offset: 788,
|
||||
key.length: 1
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
key.offset: 789,
|
||||
key.length: 23
|
||||
key.length: 24
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.comment,
|
||||
key.offset: 813,
|
||||
key.length: 35
|
||||
key.length: 36
|
||||
},
|
||||
{
|
||||
key.kind: source.lang.swift.syntaxtype.keyword,
|
||||
|
||||
Reference in New Issue
Block a user