Blame view

bower_components/prism/tests/languages/javascript/keyword_feature.test 2.86 KB
eb240478   Luigi Serra   public room cards...
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
  as; async; await; break; case;

  catch; class; const; continue; debugger;

  default; delete; do; else; enum;

  export; extends; false; finally; for;

  from; function; get; if; implements;

  import; in; instanceof; interface; let;

  new; null; of; package; private;

  protected; public; return; set; static;

  super; switch; this; throw; true;

  try; typeof; var; void; while;

  with; yield;

  

  ----------------------------------------------------

  

  [

  	["keyword", "as"], ["punctuation", ";"],

  	["keyword", "async"], ["punctuation", ";"],

  	["keyword", "await"], ["punctuation", ";"],

  	["keyword", "break"], ["punctuation", ";"],

  	["keyword", "case"], ["punctuation", ";"],

  	["keyword", "catch"], ["punctuation", ";"],

  	["keyword", "class"], ["punctuation", ";"],

  	["keyword", "const"], ["punctuation", ";"],

  	["keyword", "continue"], ["punctuation", ";"],

  	["keyword", "debugger"], ["punctuation", ";"],

  	["keyword", "default"], ["punctuation", ";"],

  	["keyword", "delete"], ["punctuation", ";"],

  	["keyword", "do"], ["punctuation", ";"],

  	["keyword", "else"], ["punctuation", ";"],

  	["keyword", "enum"], ["punctuation", ";"],

  	["keyword", "export"], ["punctuation", ";"],

  	["keyword", "extends"], ["punctuation", ";"],

  	["keyword", "false"], ["punctuation", ";"],

  	["keyword", "finally"], ["punctuation", ";"],

  	["keyword", "for"], ["punctuation", ";"],

  	["keyword", "from"], ["punctuation", ";"],

  	["keyword", "function"], ["punctuation", ";"],

  	["keyword", "get"], ["punctuation", ";"],

  	["keyword", "if"], ["punctuation", ";"],

  	["keyword", "implements"], ["punctuation", ";"],

  	["keyword", "import"], ["punctuation", ";"],

  	["keyword", "in"], ["punctuation", ";"],

  	["keyword", "instanceof"], ["punctuation", ";"],

  	["keyword", "interface"], ["punctuation", ";"],

  	["keyword", "let"], ["punctuation", ";"],

  	["keyword", "new"], ["punctuation", ";"],

  	["keyword", "null"], ["punctuation", ";"],

  	["keyword", "of"], ["punctuation", ";"],

  	["keyword", "package"], ["punctuation", ";"],

  	["keyword", "private"], ["punctuation", ";"],

  	["keyword", "protected"], ["punctuation", ";"],

  	["keyword", "public"], ["punctuation", ";"],

  	["keyword", "return"], ["punctuation", ";"],

  	["keyword", "set"], ["punctuation", ";"],

  	["keyword", "static"], ["punctuation", ";"],

  	["keyword", "super"], ["punctuation", ";"],

  	["keyword", "switch"], ["punctuation", ";"],

  	["keyword", "this"], ["punctuation", ";"],

  	["keyword", "throw"], ["punctuation", ";"],

  	["keyword", "true"], ["punctuation", ";"],

  	["keyword", "try"], ["punctuation", ";"],

  	["keyword", "typeof"], ["punctuation", ";"],

  	["keyword", "var"], ["punctuation", ";"],

  	["keyword", "void"], ["punctuation", ";"],

  	["keyword", "while"], ["punctuation", ";"],

  	["keyword", "with"], ["punctuation", ";"],

  	["keyword", "yield"], ["punctuation", ";"]

  ]

  

  ----------------------------------------------------

  

  Checks for all keywords.