Blame view

bower_components/prism/tests/languages/php/keyword_feature.test 2.19 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
73
74
75
76
  and or xor array

  as break case

  cfunction

  class;

  const continue

  declare default

  die do else

  elseif enddeclare

  endfor endforeach

  endif endswitch

  endwhile

  extends;

  for foreach function

  include include_once

  global if

  new;

  return

  static switch

  use;

  require require_once

  var while abstract

  interface;

  public

  implements;

  private

  protected parent

  throw null echo

  print trait;

  namespace;

  final yield goto

  instanceof;

  finally

  try catch

  

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

  

  [

  	["keyword", "and"], ["keyword", "or"], ["keyword", "xor"], ["keyword", "array"],

  	["keyword", "as"], ["keyword", "break"], ["keyword", "case"],

  	["keyword", "cfunction"],

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

  	["keyword", "const"], ["keyword", "continue"],

  	["keyword", "declare"], ["keyword", "default"],

  	["keyword", "die"], ["keyword", "do"], ["keyword", "else"],

  	["keyword", "elseif"], ["keyword", "enddeclare"],

  	["keyword", "endfor"], ["keyword", "endforeach"],

  	["keyword", "endif"], ["keyword", "endswitch"],

  	["keyword", "endwhile"],

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

  	["keyword", "for"], ["keyword", "foreach"], ["keyword", "function"],

  	["keyword", "include"], ["keyword", "include_once"],

  	["keyword", "global"], ["keyword", "if"],

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

  	["keyword", "return"],

  	["keyword", "static"], ["keyword", "switch"],

  	["keyword", "use"], ["punctuation", ";"],

  	["keyword", "require"], ["keyword", "require_once"],

  	["keyword", "var"], ["keyword", "while"], ["keyword", "abstract"],

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

  	["keyword", "public"],

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

  	["keyword", "private"],

  	["keyword", "protected"], ["keyword", "parent"],

  	["keyword", "throw"], ["keyword", "null"], ["keyword", "echo"],

  	["keyword", "print"],

  	["keyword", "trait"], ["punctuation", ";"],

  	["keyword", "namespace"], ["punctuation", ";"],

  	["keyword", "final"], ["keyword", "yield"], ["keyword", "goto"],

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

  	["keyword", "finally"],

  	["keyword", "try"], ["keyword", "catch"]

  ]

  

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

  

  Checks for comments.