Blame view

bower_components/prism/tests/languages/coffeescript/keyword_feature.test 1.62 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
  and break by catch

  class;

  continue debugger delete

  do each else extend

  extends;

  false finally for if in

  instanceof;

  is isnt let

  loop namespace

  new;

  no not null of off on

  or own return super

  switch then this throw

  true try typeof undefined

  unless until when while

  window with yes yield

  

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

  

  [

  	["keyword", "and"], ["keyword", "break"], ["keyword", "by"], ["keyword", "catch"],

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

  	["keyword", "continue"], ["keyword", "debugger"], ["keyword", "delete"],

  	["keyword", "do"], ["keyword", "each"], ["keyword", "else"], ["keyword", "extend"],

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

  	["keyword", "false"], ["keyword", "finally"], ["keyword", "for"], ["keyword", "if"], ["keyword", "in"],

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

  	["keyword", "is"], ["keyword", "isnt"], ["keyword", "let"],

  	["keyword", "loop"], ["keyword", "namespace"],

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

  	["keyword", "no"], ["keyword", "not"], ["keyword", "null"], ["keyword", "of"], ["keyword", "off"], ["keyword", "on"],

  	["keyword", "or"], ["keyword", "own"], ["keyword", "return"], ["keyword", "super"],

  	["keyword", "switch"], ["keyword", "then"], ["keyword", "this"], ["keyword", "throw"],

  	["keyword", "true"], ["keyword", "try"], ["keyword", "typeof"], ["keyword", "undefined"],

  	["keyword", "unless"], ["keyword", "until"], ["keyword", "when"], ["keyword", "while"],

  	["keyword", "window"], ["keyword", "with"], ["keyword", "yes"], ["keyword", "yield"]

  ]

  

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

  

  Checks for all keywords.