summaryrefslogtreecommitdiff
path: root/tests/examplefiles/rb/ruby_func_def.rb.output
blob: a942e6353283f8b2f6ea095794fe0336fda10b01 (plain)
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
'class'       Keyword
' '           Text
'('           Punctuation
'get_foo'     Name
'('           Operator
'"'           Literal.String.Double
'blub'        Literal.String.Double
'"'           Literal.String.Double
')'           Punctuation
')'           Punctuation
'::'          Operator
'Foo'         Name.Class
'\n  '        Text
'def'         Keyword
' '           Text
'('           Punctuation
'foo'         Name
'('           Operator
'"'           Literal.String.Double
'bar'         Literal.String.Double
'"'           Literal.String.Double
')'           Punctuation
' '           Text
'+'           Operator
' '           Text
'bar'         Name
'('           Operator
'"'           Literal.String.Double
'baz'         Literal.String.Double
'"'           Literal.String.Double
')'           Punctuation
')'           Punctuation
'.'           Operator
'something'   Name.Function
' '           Text
'argh'        Name
','           Punctuation
' '           Text
'aaahaa'      Name
'\n    '      Text
'42'          Literal.Number.Integer
'\n  '        Text
'end'         Keyword
'\n'          Text

'end'         Keyword
'\n\n'        Text

'class'       Keyword
' '           Text
'get_the_fuck' Name
'('           Punctuation
'"'           Literal.String.Double
'out'         Literal.String.Double
'"'           Literal.String.Double
')'           Punctuation
'::'          Operator
'Of'          Name.Constant
'::'          Operator
'My'          Name.Constant
'\n  '        Text
'def'         Keyword
' '           Text
'parser_definition' Name.Function
'\n    '      Text
'ruby!'       Name
'\n  '        Text
'end'         Keyword
'\n'          Text

'end'         Keyword
'\n'          Text