Blame view

bower_components/prism/tests/languages/puppet/function_feature.test 681 Bytes
f748e9cf   Luigi Serra   new controllet an...
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
  $foo.foobar

  foo_bar_42()

  

  contain

  debug

  err

  fail

  include

  info

  notice

  realize

  require

  tag

  warning

  

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

  

  [

  	["variable", ["$foo"]], ["punctuation", "."], ["function", "foobar"],

  	["function", "foo_bar_42"], ["punctuation", "("], ["punctuation", ")"],

  

  	["function", "contain"],

  	["function", "debug"],

  	["function", "err"],

  	["function", "fail"],

  	["function", "include"],

  	["function", "info"],

  	["function", "notice"],

  	["function", "realize"],

  	["function", "require"],

  	["function", "tag"],

  	["function", "warning"]

  ]

  

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

  

  Checks for functions.