Blame view

bower_components/prism/tests/languages/qore/keyword_feature.test 2.4 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
  abstract any assert binary

  bool boolean break byte

  case catch char

  class;

  code const continue data

  default do double else

  enum

  extends;

  final finally float for

  goto hash if

  implements;

  import inherits

  instanceof;

  int

  interface;

  long my native

  new;

  nothing null object our

  own private reference

  rethrow return short

  softint softfloat softnumber

  softbool softstring softdate

  softlist static strictfp

  string sub super switch

  synchronized this throw

  throws transient try

  void volatile while

  

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

  

  [

  	["keyword", "abstract"], ["keyword", "any"], ["keyword", "assert"], ["keyword", "binary"],

  	["keyword", "bool"], ["keyword", "boolean"], ["keyword", "break"], ["keyword", "byte"],

  	["keyword", "case"], ["keyword", "catch"], ["keyword", "char"],

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

  	["keyword", "code"], ["keyword", "const"], ["keyword", "continue"], ["keyword", "data"],

  	["keyword", "default"], ["keyword", "do"], ["keyword", "double"], ["keyword", "else"],

  	["keyword", "enum"],

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

  	["keyword", "final"], ["keyword", "finally"], ["keyword", "float"], ["keyword", "for"],

  	["keyword", "goto"], ["keyword", "hash"], ["keyword", "if"],

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

  	["keyword", "import"], ["keyword", "inherits"],

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

  	["keyword", "int"],

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

  	["keyword", "long"], ["keyword", "my"], ["keyword", "native"],

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

  	["keyword", "nothing"], ["keyword", "null"], ["keyword", "object"], ["keyword", "our"],

  	["keyword", "own"], ["keyword", "private"], ["keyword", "reference"],

  	["keyword", "rethrow"], ["keyword", "return"], ["keyword", "short"],

  	["keyword", "softint"], ["keyword", "softfloat"], ["keyword", "softnumber"],

  	["keyword", "softbool"], ["keyword", "softstring"], ["keyword", "softdate"],

  	["keyword", "softlist"], ["keyword", "static"], ["keyword", "strictfp"],

  	["keyword", "string"], ["keyword", "sub"], ["keyword", "super"], ["keyword", "switch"],

  	["keyword", "synchronized"], ["keyword", "this"], ["keyword", "throw"],

  	["keyword", "throws"], ["keyword", "transient"], ["keyword", "try"],

  	["keyword", "void"], ["keyword", "volatile"], ["keyword", "while"]

  ]

  

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

  

  Checks for keywords.