/
keyword_feature.test
133 lines (129 loc) · 2.23 KB
/
keyword_feature.test
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
abstract
as
asserts
async
await
break
case
catch
class;
const
constructor
continue
debugger
declare
default
delete
do
else
enum
export
extends;
finally
for
from
function
get
if
implements;
import
in
instanceof;
interface;
is
keyof
let
module
namespace
new;
null
of
package
private
protected
public
readonly
return
require
set
static
super
switch
this
throw
try
type;
typeof
undefined
var
void
while
with
yield
----------------------------------------------------
[
["keyword", "abstract"],
["keyword", "as"],
["keyword", "asserts"],
["keyword", "async"],
["keyword", "await"],
["keyword", "break"],
["keyword", "case"],
["keyword", "catch"],
["keyword", "class"], ["punctuation", ";"],
["keyword", "const"],
["keyword", "constructor"],
["keyword", "continue"],
["keyword", "debugger"],
["keyword", "declare"],
["keyword", "default"],
["keyword", "delete"],
["keyword", "do"],
["keyword", "else"],
["keyword", "enum"],
["keyword", "export"],
["keyword", "extends"], ["punctuation", ";"],
["keyword", "finally"],
["keyword", "for"],
["keyword", "from"],
["keyword", "function"],
["keyword", "get"],
["keyword", "if"],
["keyword", "implements"], ["punctuation", ";"],
["keyword", "import"],
["keyword", "in"],
["keyword", "instanceof"], ["punctuation", ";"],
["keyword", "interface"], ["punctuation", ";"],
["keyword", "is"],
["keyword", "keyof"],
["keyword", "let"],
["keyword", "module"],
["keyword", "namespace"],
["keyword", "new"], ["punctuation", ";"],
["keyword", "null"],
["keyword", "of"],
["keyword", "package"],
["keyword", "private"],
["keyword", "protected"],
["keyword", "public"],
["keyword", "readonly"],
["keyword", "return"],
["keyword", "require"],
["keyword", "set"],
["keyword", "static"],
["keyword", "super"],
["keyword", "switch"],
["keyword", "this"],
["keyword", "throw"],
["keyword", "try"],
["keyword", "type"], ["punctuation", ";"],
["keyword", "typeof"],
["keyword", "undefined"],
["keyword", "var"],
["keyword", "void"],
["keyword", "while"],
["keyword", "with"],
["keyword", "yield"]
]
----------------------------------------------------
Checks for keywords.