Blame view

bower_components/prism/tests/languages/crystal/keyword_feature.test 1.73 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
  abstract alias as asm begin break case

  class;

  def do else elsif

  end ensure enum extend for fun

  if ifdef include instance_sizeof

  .is_a?

  lib macro module next of out pointerof

  private protected rescue

  .responds_to?

  return require self sizeof struct super

  then type typeof union unless until when

  while with yield __DIR__ __FILE__ __LINE__

  

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

  

  [

  	["keyword", "abstract"], ["keyword", "alias"], ["keyword", "as"], ["keyword", "asm"], ["keyword", "begin"], ["keyword", "break"], ["keyword", "case"],

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

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

  	["keyword", "end"], ["keyword", "ensure"], ["keyword", "enum"], ["keyword", "extend"], ["keyword", "for"], ["keyword", "fun"],

  	["keyword", "if"], ["keyword", "ifdef"], ["keyword", "include"], ["keyword", "instance_sizeof"],

  	["punctuation", "."], ["keyword", "is_a?"],

  	["keyword", "lib"], ["keyword", "macro"], ["keyword", "module"], ["keyword", "next"], ["keyword", "of"], ["keyword", "out"], ["keyword", "pointerof"],

  	["keyword", "private"], ["keyword", "protected"], ["keyword", "rescue"],

  	["punctuation", "."], ["keyword", "responds_to?"],

  	["keyword", "return"], ["keyword", "require"], ["keyword", "self"], ["keyword", "sizeof"], ["keyword", "struct"], ["keyword", "super"],

  	["keyword", "then"], ["keyword", "type"], ["keyword", "typeof"], ["keyword", "union"], ["keyword", "unless"], ["keyword", "until"], ["keyword", "when"],

  	["keyword", "while"], ["keyword", "with"], ["keyword", "yield"], ["keyword", "__DIR__"], ["keyword", "__FILE__"], ["keyword", "__LINE__"]

  ]

  

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

  

  Checks for all keywords.