Blame view

bower_components/prism/tests/languages/perl/keyword_feature.test 1.07 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
  any break continue

  default delete die

  do else elsif eval

  for foreach given

  goto if last local

  my next our package

  print redo require

  say state sub

  switch undef unless

  until use when while

  

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

  

  [

  	["keyword", "any"], ["keyword", "break"], ["keyword", "continue"],

  	["keyword", "default"], ["keyword", "delete"], ["keyword", "die"],

  	["keyword", "do"], ["keyword", "else"], ["keyword", "elsif"], ["keyword", "eval"],

  	["keyword", "for"], ["keyword", "foreach"], ["keyword", "given"],

  	["keyword", "goto"], ["keyword", "if"], ["keyword", "last"], ["keyword", "local"],

  	["keyword", "my"], ["keyword", "next"], ["keyword", "our"], ["keyword", "package"],

  	["keyword", "print"], ["keyword", "redo"], ["keyword", "require"],

  	["keyword", "say"], ["keyword", "state"], ["keyword", "sub"],

  	["keyword", "switch"], ["keyword", "undef"], ["keyword", "unless"],

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

  ]

  

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

  

  Checks for all keywords.