keyword_feature.test
2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
as
associativity
break
case
catch
class;
continue
convenience
default
defer
deinit
didSet
do
dynamic
dynamicType
else
enum
extension
fallthrough
final
for
func
get
guard
if
import
in
infix
init
inout
internal
is
lazy
left
let
mutating
new;
none
nonmutating
operator
optional
override
postfix
precedence
prefix
private
Protocol
public
repeat
required
rethrows
return
right
safe
self
Self
set
static
struct
subscript
super
switch
throw
throws
try
Type
typealias
unowned
unsafe
var
weak
where
while
willSet
__COLUMN__
__FILE__
__FUNCTION__
__LINE__
----------------------------------------------------
[
["keyword", "as"],
["keyword", "associativity"],
["keyword", "break"],
["keyword", "case"],
["keyword", "catch"],
["keyword", "class"], ["punctuation", ";"],
["keyword", "continue"],
["keyword", "convenience"],
["keyword", "default"],
["keyword", "defer"],
["keyword", "deinit"],
["keyword", "didSet"],
["keyword", "do"],
["keyword", "dynamic"],
["keyword", "dynamicType"],
["keyword", "else"],
["keyword", "enum"],
["keyword", "extension"],
["keyword", "fallthrough"],
["keyword", "final"],
["keyword", "for"],
["keyword", "func"],
["keyword", "get"],
["keyword", "guard"],
["keyword", "if"],
["keyword", "import"],
["keyword", "in"],
["keyword", "infix"],
["keyword", "init"],
["keyword", "inout"],
["keyword", "internal"],
["keyword", "is"],
["keyword", "lazy"],
["keyword", "left"],
["keyword", "let"],
["keyword", "mutating"],
["keyword", "new"], ["punctuation", ";"],
["keyword", "none"],
["keyword", "nonmutating"],
["keyword", "operator"],
["keyword", "optional"],
["keyword", "override"],
["keyword", "postfix"],
["keyword", "precedence"],
["keyword", "prefix"],
["keyword", "private"],
["keyword", "Protocol"],
["keyword", "public"],
["keyword", "repeat"],
["keyword", "required"],
["keyword", "rethrows"],
["keyword", "return"],
["keyword", "right"],
["keyword", "safe"],
["keyword", "self"],
["keyword", "Self"],
["keyword", "set"],
["keyword", "static"],
["keyword", "struct"],
["keyword", "subscript"],
["keyword", "super"],
["keyword", "switch"],
["keyword", "throw"],
["keyword", "throws"],
["keyword", "try"],
["keyword", "Type"],
["keyword", "typealias"],
["keyword", "unowned"],
["keyword", "unsafe"],
["keyword", "var"],
["keyword", "weak"],
["keyword", "where"],
["keyword", "while"],
["keyword", "willSet"],
["keyword", "__COLUMN__"],
["keyword", "__FILE__"],
["keyword", "__FUNCTION__"],
["keyword", "__LINE__"]
]
----------------------------------------------------
Checks for all keywords.