summaryrefslogtreecommitdiff
path: root/tests/examplefiles/newspeak/minimal.ns2.output
blob: 22b07013435a19efd007ef631f84e4f8b27dceb5 (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
'class'       Keyword.Declaration
' '           Text
'A'           Name.Class
' '           Text
'='           Operator
' '           Text
'('           Punctuation
' '           Text
'|'           Operator
' '           Text
'a'           Name.Attribute
' '           Text
'='           Operator
' '           Text
'self'        Keyword
' '           Text
'm'           Name.Variable
'.'           Punctuation
' '           Text
'|'           Operator
' '           Text
')'           Punctuation
' '           Text
'('           Punctuation
'\n    '      Text
'm'           Name.Attribute
' '           Text
'='           Operator
' '           Text
'('           Punctuation
'^'           Operator
'a'           Name.Variable
' '           Text
'isNil'       Name.Variable
' '           Text
'ifTrue:'     Name.Function
' '           Text
'['           Punctuation
'0'           Literal.Number.Integer
']'           Punctuation
' '           Text
'ifFalse:'    Name.Function
' '           Text
'['           Punctuation
'1'           Literal.Number.Integer
']'           Punctuation
')'           Punctuation
'\n'          Text

')'           Punctuation
'\n'          Text

'class'       Keyword.Declaration
' '           Text
'B'           Name.Class
' '           Text
'='           Operator
' '           Text
'C'           Name.Variable
' '           Text
'('           Punctuation
' '           Text
'|'           Operator
' '           Text
'b0'          Name.Attribute
' '           Text
'='           Operator
' '           Text
'0.'          Literal.Number.Float
' '           Text
'b1'          Name.Attribute
' '           Text
'='           Operator
' '           Text
'b0'          Name.Variable
' '           Text
'+'           Operator
' '           Text
'1.'          Literal.Number.Float
' '           Text
'|'           Operator
' '           Text
')'           Punctuation
' '           Text
'('           Punctuation
')'           Punctuation
'\n'          Text