summaryrefslogtreecommitdiff
path: root/tests/examplefiles/boa/example.boa.output
blob: 6882467c7eacc01952ba22258b5e0ac2eb2aa4de (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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
'# Computes Number of Public Methods (NPM) for each project, per-type' Comment.Single
'\n'          Text.Whitespace

'# Output is: NPM[ProjectID][TypeName] = NPM value' Comment.Single
'\n'          Text.Whitespace

'p'           Name.Variable
':'           Operator
' '           Text.Whitespace
'Project'     Name.Classes
' '           Text.Whitespace
'='           Operator
' '           Text.Whitespace
'input'       Keyword.Reserved
';'           Punctuation
'\n'          Text.Whitespace

'NPM'         Name.Variable
':'           Operator
' '           Text.Whitespace
'output'      Keyword.Reserved
' '           Text.Whitespace
'sum'         Keyword.Type
'['           Punctuation
'string'      Keyword.Type
']'           Punctuation
'['           Punctuation
'string'      Keyword.Type
']'           Punctuation
' '           Text.Whitespace
'of'          Keyword.Reserved
' '           Text.Whitespace
'int'         Keyword.Type
';'           Punctuation
'\n\n'        Text.Whitespace

'visit'       Keyword.Reserved
'('           Punctuation
'p'           Name.Variable
','           Punctuation
' '           Text.Whitespace
'visitor'     Keyword.Reserved
' '           Text.Whitespace
'{'           Punctuation
'\n\t'        Text.Whitespace
'# only look at the latest snapshot' Comment.Single
'\n\t'        Text.Whitespace
'before'      Keyword.Reserved
' '           Text.Whitespace
'n'           Name.Variable
':'           Operator
' '           Text.Whitespace
'CodeRepository' Name.Classes
' '           Text.Whitespace
'->'          Operator
' '           Text.Whitespace
'{'           Punctuation
'\n\t\t'      Text.Whitespace
'snapshot'    Name.Variable
' '           Text.Whitespace
':='          Operator
' '           Text.Whitespace
'getsnapshot(' Name.Function
'n'           Name.Variable
')'           Punctuation
';'           Punctuation
'\n\t\t'      Text.Whitespace
'foreach'     Keyword.Reserved
' '           Text.Whitespace
'('           Punctuation
'i'           Name.Variable
':'           Operator
' '           Text.Whitespace
'int'         Keyword.Type
';'           Punctuation
' '           Text.Whitespace
'def('        Name.Function
'snapshot'    Name.Variable
'['           Punctuation
'i'           Name.Variable
']'           Punctuation
')'           Punctuation
')'           Punctuation
'\n\t\t\t'    Text.Whitespace
'visit'       Keyword.Reserved
'('           Punctuation
'snapshot'    Name.Variable
'['           Punctuation
'i'           Name.Variable
']'           Punctuation
')'           Punctuation
';'           Punctuation
'\n\t\t'      Text.Whitespace
'stop'        Keyword.Reserved
';'           Punctuation
'\n\t'        Text.Whitespace
'}'           Punctuation
'\n\t'        Text.Whitespace
'before'      Keyword.Reserved
' '           Text.Whitespace
'node'        Name.Variable
':'           Operator
' '           Text.Whitespace
'Declaration' Name.Classes
' '           Text.Whitespace
'->'          Operator
'\n\t\t'      Text.Whitespace
'if'          Keyword.Reserved
' '           Text.Whitespace
'('           Punctuation
'node'        Name.Variable
'.'           Punctuation
'kind'        Name.Variable
' '           Text.Whitespace
'='           Operator
'='           Operator
' '           Text.Whitespace
'TypeKind'    Name.Classes
'.'           Punctuation
'CLASS'       Name.Variable
')'           Punctuation
'\n\t\t\t'    Text.Whitespace
'foreach'     Keyword.Reserved
' '           Text.Whitespace
'('           Punctuation
'i'           Name.Variable
':'           Operator
' '           Text.Whitespace
'int'         Keyword.Type
';'           Punctuation
' '           Text.Whitespace
'has_modifier_public' Name.Variable
'('           Punctuation
'node'        Name.Variable
'.'           Punctuation
'methods'     Name.Variable
'['           Punctuation
'i'           Name.Variable
']'           Punctuation
')'           Punctuation
')'           Punctuation
'\n\t\t\t\t'  Text.Whitespace
'NPM'         Name.Variable
'['           Punctuation
'p'           Name.Variable
'.'           Punctuation
'id'          Name.Variable
']'           Punctuation
'['           Punctuation
'node'        Name.Variable
'.'           Punctuation
'name'        Name.Variable
']'           Punctuation
' '           Text.Whitespace
'<<'          Operator
' '           Text.Whitespace
'1'           Literal.Number.Integer
';'           Punctuation
'\n'          Text.Whitespace

'}'           Punctuation
')'           Punctuation
';'           Punctuation
'\n'          Text.Whitespace