Skip to content

Commit f0e8901

Browse files
committed
regenerate golden parser files
1 parent 6309a6e commit f0e8901

File tree

3 files changed

+643
-632
lines changed

3 files changed

+643
-632
lines changed

graalpython/com.oracle.graal.python.test/testData/testFiles/RuntimeFileTests/builtins.tast

Lines changed: 75 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
ModuleRootNode Name: <module 'builtins'> SourceSection: [0,2880]`# Copyright (c) 2018...`
1+
ModuleRootNode Name: <module 'builtins'> SourceSection: [0,2879]`# Copyright (c) 2018...`
22
Signature: varArgs=False, varKeywordArgs=False, noArguments=True, positionalOnly=True, requiresKeywordArgs=False
33
FreeVars: None
44
NeedsCellFrame: False
55
FrameDescriptor: Empty
66
Documentation: None
7-
InnerRootNode SourceSection: [0,2880]`# Copyright (c) 2018...`
8-
ExpressionWithSideEffects SourceSection: [2167,2879]`↵def __gr__(self, na...`
7+
InnerRootNode SourceSection: [0,2879]`# Copyright (c) 2018...`
8+
ExpressionWithSideEffects SourceSection: [2167,2878]`↵def __gr__(self, na...`
99
WriteNameNodeGen SourceSection: [2168,2239]`def __gr__(self, nam...`
1010
Identifier: __gr__
1111
FunctionDefinitionNode Name: __gr__ SourceSection: None
@@ -75,7 +75,7 @@ ModuleRootNode Name: <module 'builtins'> SourceSection: [0,2880]`# Copyright (c)
7575
Return Expresssion: ReadLocalVariableNode SourceSection: None
7676
Frame: [5,<return_val>,Illegal]
7777
ReadVariableFromFrameNodeGen SourceSection: None
78-
WriteNameNodeGen SourceSection: [2239,2635]`def __import__(filen...`
78+
WriteNameNodeGen SourceSection: [2239,2634]`def __import__(filen...`
7979
Identifier: __import__
8080
FunctionDefinitionNode Name: __import__ SourceSection: None
8181
Arguments: None
@@ -85,7 +85,7 @@ ModuleRootNode Name: <module 'builtins'> SourceSection: [0,2880]`# Copyright (c)
8585
ExecutionSlots:
8686
FreeVarsSlots: None
8787
CellVarsSlots: None
88-
FunctionRootNode SourceSection: [2239,2635]`def __import__(filen...`
88+
FunctionRootNode SourceSection: [2239,2634]`def __import__(filen...`
8989
Name: __import__
9090
Signature: varArgs=False, varKeywordArgs=False, noArguments=False, positionalOnly=True, requiresKeywordArgs=False
9191
Param Names: filename, module_name
@@ -96,8 +96,8 @@ ModuleRootNode Name: <module 'builtins'> SourceSection: [0,2880]`# Copyright (c)
9696
ExecutionSlots:
9797
FreeVarsSlots: None
9898
CellVarsSlots: None
99-
InnerRootNode SourceSection: [2239,2635]`def __import__(filen...`
100-
ReturnTargetNode SourceSection: [2239,2635]`def __import__(filen...`
99+
InnerRootNode SourceSection: [2239,2634]`def __import__(filen...`
100+
ReturnTargetNode SourceSection: [2239,2634]`def __import__(filen...`
101101
Body: BlockNode SourceSection: None
102102
BlockNode SourceSection: None
103103
WriteLocalVariableNodeGen SourceSection: None
@@ -114,7 +114,7 @@ ModuleRootNode Name: <module 'builtins'> SourceSection: [0,2880]`# Copyright (c)
114114
ArgumentExpressionNode SourceSection: None
115115
ReadIndexedArgumentNodeGen SourceSection: None
116116
Index: 1
117-
FunctionBodyNode SourceSection: [2289,2632]`sys, posix↵ modul...`
117+
FunctionBodyNode SourceSection: [2289,2631]`sys, posix↵ modul...`
118118
WriteLocalVariableNodeGen SourceSection: [2289,2292]`sys`
119119
Identifier: sys
120120
WriteLocalFrameSlotNodeGen SourceSection: None
@@ -145,7 +145,7 @@ ModuleRootNode Name: <module 'builtins'> SourceSection: [0,2880]`# Copyright (c)
145145
ReadLocalVariableNode SourceSection: [2325,2336]`module_name`
146146
Frame: [1,module_name,Illegal]
147147
ReadVariableFromFrameNodeGen SourceSection: None
148-
IfNode SourceSection: [2342,2433]`if filename.startswi...`
148+
IfNode SourceSection: [2342,2432]`if filename.startswi...`
149149
YesNodeGen SourceSection: None
150150
PythonCallNodeGen SourceSection: [2345,2370]`filename.startswith(...`
151151
CallNodeGen SourceSection: None
@@ -154,159 +154,159 @@ ModuleRootNode Name: <module 'builtins'> SourceSection: [0,2880]`# Copyright (c)
154154
ReadLocalVariableNode SourceSection: [2345,2353]`filename`
155155
Frame: [0,filename,Illegal]
156156
ReadVariableFromFrameNodeGen SourceSection: None
157-
WriteLocalVariableNodeGen SourceSection: [2380,2428]`filename = filename ...`
157+
WriteLocalVariableNodeGen SourceSection: [2380,2427]`filename = filename ...`
158158
Identifier: filename
159159
WriteLocalFrameSlotNodeGen SourceSection: None
160160
Frame: [0,filename,Illegal]
161-
BinaryArithmeticExpression SourceSection: [2391,2428]`filename % sys.graal...`
161+
BinaryArithmeticExpression SourceSection: [2391,2427]`filename % __graalpy...`
162162
LookupAndCallBinaryNodeGen SourceSection: None
163163
Op: __mod__
164164
ReadLocalVariableNode SourceSection: [2391,2399]`filename`
165165
Frame: [0,filename,Illegal]
166166
ReadVariableFromFrameNodeGen SourceSection: None
167-
GetAttributeNodeGen SourceSection: [2402,2428]`sys.graal_python_cor...`
167+
GetAttributeNodeGen SourceSection: [2402,2427]`__graalpython__.core...`
168168
GetFixedAttributeNodeGen SourceSection: None
169-
Key: graal_python_core_home
169+
Key: core_home
170170
LookupAndCallBinaryNodeGen SourceSection: None
171171
Op: __getattribute__
172-
ReadLocalVariableNode SourceSection: [2402,2405]`sys`
173-
Frame: [2,sys,Illegal]
174-
ReadVariableFromFrameNodeGen SourceSection: None
172+
ReadGlobalOrBuiltinNodeGen SourceSection: [2402,2417]`__graalpython__`
173+
Identifier: __graalpython__
174+
ReadAttributeFromObjectNotTypeNodeGen SourceSection: None
175175
BlockNode SourceSection: None
176-
WriteLocalVariableNodeGen SourceSection: [2433,2474]`fd = posix.open(file...`
176+
WriteLocalVariableNodeGen SourceSection: [2432,2473]`fd = posix.open(file...`
177177
Identifier: fd
178178
WriteLocalFrameSlotNodeGen SourceSection: None
179179
Frame: [5,fd,Illegal]
180-
PythonCallNodeGen SourceSection: [2438,2474]`posix.open(filename,...`
180+
PythonCallNodeGen SourceSection: [2437,2473]`posix.open(filename,...`
181181
CallNodeGen SourceSection: None
182-
ReadLocalVariableNode SourceSection: [2449,2457]`filename`
182+
ReadLocalVariableNode SourceSection: [2448,2456]`filename`
183183
Frame: [0,filename,Illegal]
184184
ReadVariableFromFrameNodeGen SourceSection: None
185-
GetAttributeNodeGen SourceSection: [2459,2473]`posix.O_RDONLY`
185+
GetAttributeNodeGen SourceSection: [2458,2472]`posix.O_RDONLY`
186186
GetFixedAttributeNodeGen SourceSection: None
187187
Key: O_RDONLY
188188
LookupAndCallBinaryNodeGen SourceSection: None
189189
Op: __getattribute__
190-
ReadLocalVariableNode SourceSection: [2459,2464]`posix`
190+
ReadLocalVariableNode SourceSection: [2458,2463]`posix`
191191
Frame: [3,posix,Illegal]
192192
ReadVariableFromFrameNodeGen SourceSection: None
193193
GetCallAttributeNodeGen SourceSection: None
194-
ReadLocalVariableNode SourceSection: [2438,2443]`posix`
194+
ReadLocalVariableNode SourceSection: [2437,2442]`posix`
195195
Frame: [3,posix,Illegal]
196196
ReadVariableFromFrameNodeGen SourceSection: None
197-
WriteLocalVariableNodeGen SourceSection: [2479,2516]`content = posix.read...`
197+
WriteLocalVariableNodeGen SourceSection: [2478,2515]`content = posix.read...`
198198
Identifier: content
199199
WriteLocalFrameSlotNodeGen SourceSection: None
200200
Frame: [6,content,Illegal]
201-
PythonCallNodeGen SourceSection: [2489,2516]`posix.read(fd, sys.m...`
201+
PythonCallNodeGen SourceSection: [2488,2515]`posix.read(fd, sys.m...`
202202
CallNodeGen SourceSection: None
203-
ReadLocalVariableNode SourceSection: [2500,2502]`fd`
203+
ReadLocalVariableNode SourceSection: [2499,2501]`fd`
204204
Frame: [5,fd,Illegal]
205205
ReadVariableFromFrameNodeGen SourceSection: None
206-
GetAttributeNodeGen SourceSection: [2504,2515]`sys.maxsize`
206+
GetAttributeNodeGen SourceSection: [2503,2514]`sys.maxsize`
207207
GetFixedAttributeNodeGen SourceSection: None
208208
Key: maxsize
209209
LookupAndCallBinaryNodeGen SourceSection: None
210210
Op: __getattribute__
211-
ReadLocalVariableNode SourceSection: [2504,2507]`sys`
211+
ReadLocalVariableNode SourceSection: [2503,2506]`sys`
212212
Frame: [2,sys,Illegal]
213213
ReadVariableFromFrameNodeGen SourceSection: None
214214
GetCallAttributeNodeGen SourceSection: None
215-
ReadLocalVariableNode SourceSection: [2489,2494]`posix`
215+
ReadLocalVariableNode SourceSection: [2488,2493]`posix`
216216
Frame: [3,posix,Illegal]
217217
ReadVariableFromFrameNodeGen SourceSection: None
218-
ExpressionStatementNode SourceSection: [2521,2536]`posix.close(fd)`
219-
PythonCallNodeGen SourceSection: [2521,2536]`posix.close(fd)`
218+
ExpressionStatementNode SourceSection: [2520,2535]`posix.close(fd)`
219+
PythonCallNodeGen SourceSection: [2520,2535]`posix.close(fd)`
220220
CallNodeGen SourceSection: None
221-
ReadLocalVariableNode SourceSection: [2533,2535]`fd`
221+
ReadLocalVariableNode SourceSection: [2532,2534]`fd`
222222
Frame: [5,fd,Illegal]
223223
ReadVariableFromFrameNodeGen SourceSection: None
224224
GetCallAttributeNodeGen SourceSection: None
225-
ReadLocalVariableNode SourceSection: [2521,2526]`posix`
225+
ReadLocalVariableNode SourceSection: [2520,2525]`posix`
226226
Frame: [3,posix,Illegal]
227227
ReadVariableFromFrameNodeGen SourceSection: None
228-
WriteLocalVariableNodeGen SourceSection: [2541,2582]`code = compile(conte...`
228+
WriteLocalVariableNodeGen SourceSection: [2540,2581]`code = compile(conte...`
229229
Identifier: code
230230
WriteLocalFrameSlotNodeGen SourceSection: None
231231
Frame: [7,code,Illegal]
232-
PythonCallNodeGen SourceSection: [2548,2582]`compile(content, fil...`
232+
PythonCallNodeGen SourceSection: [2547,2581]`compile(content, fil...`
233233
CallNodeGen SourceSection: None
234-
ReadLocalVariableNode SourceSection: [2556,2563]`content`
234+
ReadLocalVariableNode SourceSection: [2555,2562]`content`
235235
Frame: [6,content,Illegal]
236236
ReadVariableFromFrameNodeGen SourceSection: None
237-
ReadLocalVariableNode SourceSection: [2565,2573]`filename`
237+
ReadLocalVariableNode SourceSection: [2564,2572]`filename`
238238
Frame: [0,filename,Illegal]
239239
ReadVariableFromFrameNodeGen SourceSection: None
240-
StringLiteralNode SourceSection: [2575,2581]`"exec"`
241-
ReadGlobalOrBuiltinNodeGen SourceSection: [2548,2555]`compile`
240+
StringLiteralNode SourceSection: [2574,2580]`"exec"`
241+
ReadGlobalOrBuiltinNodeGen SourceSection: [2547,2554]`compile`
242242
Identifier: compile
243243
ReadAttributeFromObjectNotTypeNodeGen SourceSection: None
244-
ExpressionStatementNode SourceSection: [2587,2614]`exec(code, module.__...`
245-
PythonCallNodeGen SourceSection: [2587,2614]`exec(code, module.__...`
244+
ExpressionStatementNode SourceSection: [2586,2613]`exec(code, module.__...`
245+
PythonCallNodeGen SourceSection: [2586,2613]`exec(code, module.__...`
246246
CallNodeGen SourceSection: None
247-
ReadLocalVariableNode SourceSection: [2592,2596]`code`
247+
ReadLocalVariableNode SourceSection: [2591,2595]`code`
248248
Frame: [7,code,Illegal]
249249
ReadVariableFromFrameNodeGen SourceSection: None
250-
GetAttributeNodeGen SourceSection: [2598,2613]`module.__dict__`
250+
GetAttributeNodeGen SourceSection: [2597,2612]`module.__dict__`
251251
GetFixedAttributeNodeGen SourceSection: None
252252
Key: __dict__
253253
LookupAndCallBinaryNodeGen SourceSection: None
254254
Op: __getattribute__
255-
ReadLocalVariableNode SourceSection: [2598,2604]`module`
255+
ReadLocalVariableNode SourceSection: [2597,2603]`module`
256256
Frame: [4,module,Illegal]
257257
ReadVariableFromFrameNodeGen SourceSection: None
258-
ReadGlobalOrBuiltinNodeGen SourceSection: [2587,2591]`exec`
258+
ReadGlobalOrBuiltinNodeGen SourceSection: [2586,2590]`exec`
259259
Identifier: exec
260260
ReadAttributeFromObjectNotTypeNodeGen SourceSection: None
261-
FrameReturnNode SourceSection: [2619,2632]`return module`
261+
FrameReturnNode SourceSection: [2618,2631]`return module`
262262
WriteLocalVariableNodeGen SourceSection: None
263263
Identifier: <return_val>
264264
WriteLocalFrameSlotNodeGen SourceSection: None
265265
Frame: [8,<return_val>,Illegal]
266-
ReadLocalVariableNode SourceSection: [2626,2632]`module`
266+
ReadLocalVariableNode SourceSection: [2625,2631]`module`
267267
Frame: [4,module,Illegal]
268268
ReadVariableFromFrameNodeGen SourceSection: None
269269
Return Expresssion: ReadLocalVariableNode SourceSection: None
270270
Frame: [8,<return_val>,Illegal]
271271
ReadVariableFromFrameNodeGen SourceSection: None
272-
ExpressionStatementNode SourceSection: [2635,2676]`__import__("%s/funct...`
273-
PythonCallNodeGen SourceSection: [2635,2676]`__import__("%s/funct...`
272+
ExpressionStatementNode SourceSection: [2634,2675]`__import__("%s/funct...`
273+
PythonCallNodeGen SourceSection: [2634,2675]`__import__("%s/funct...`
274274
CallNodeGen SourceSection: None
275-
StringLiteralNode SourceSection: [2646,2663]`"%s/functions.py"`
276-
StringLiteralNode SourceSection: [2665,2675]`"builtins"`
277-
ReadNameNodeGen SourceSection: [2635,2645]`__import__`
275+
StringLiteralNode SourceSection: [2645,2662]`"%s/functions.py"`
276+
StringLiteralNode SourceSection: [2664,2674]`"builtins"`
277+
ReadNameNodeGen SourceSection: [2634,2644]`__import__`
278278
Identifier: __import__
279-
ExpressionStatementNode SourceSection: [2677,2717]`__import__("%s/prope...`
280-
PythonCallNodeGen SourceSection: [2677,2717]`__import__("%s/prope...`
279+
ExpressionStatementNode SourceSection: [2676,2716]`__import__("%s/prope...`
280+
PythonCallNodeGen SourceSection: [2676,2716]`__import__("%s/prope...`
281281
CallNodeGen SourceSection: None
282-
StringLiteralNode SourceSection: [2688,2704]`"%s/property.py"`
283-
StringLiteralNode SourceSection: [2706,2716]`"builtins"`
284-
ReadNameNodeGen SourceSection: [2677,2687]`__import__`
282+
StringLiteralNode SourceSection: [2687,2703]`"%s/property.py"`
283+
StringLiteralNode SourceSection: [2705,2715]`"builtins"`
284+
ReadNameNodeGen SourceSection: [2676,2686]`__import__`
285285
Identifier: __import__
286-
ExpressionStatementNode SourceSection: [2718,2760]`__import__("%s/excep...`
287-
PythonCallNodeGen SourceSection: [2718,2760]`__import__("%s/excep...`
286+
ExpressionStatementNode SourceSection: [2717,2759]`__import__("%s/excep...`
287+
PythonCallNodeGen SourceSection: [2717,2759]`__import__("%s/excep...`
288288
CallNodeGen SourceSection: None
289-
StringLiteralNode SourceSection: [2729,2747]`"%s/exceptions.py"`
290-
StringLiteralNode SourceSection: [2749,2759]`"builtins"`
291-
ReadNameNodeGen SourceSection: [2718,2728]`__import__`
289+
StringLiteralNode SourceSection: [2728,2746]`"%s/exceptions.py"`
290+
StringLiteralNode SourceSection: [2748,2758]`"builtins"`
291+
ReadNameNodeGen SourceSection: [2717,2727]`__import__`
292292
Identifier: __import__
293-
ExpressionStatementNode SourceSection: [2761,2798]`__import__("%s/super...`
294-
PythonCallNodeGen SourceSection: [2761,2798]`__import__("%s/super...`
293+
ExpressionStatementNode SourceSection: [2760,2797]`__import__("%s/super...`
294+
PythonCallNodeGen SourceSection: [2760,2797]`__import__("%s/super...`
295295
CallNodeGen SourceSection: None
296-
StringLiteralNode SourceSection: [2772,2785]`"%s/super.py"`
297-
StringLiteralNode SourceSection: [2787,2797]`"builtins"`
298-
ReadNameNodeGen SourceSection: [2761,2771]`__import__`
296+
StringLiteralNode SourceSection: [2771,2784]`"%s/super.py"`
297+
StringLiteralNode SourceSection: [2786,2796]`"builtins"`
298+
ReadNameNodeGen SourceSection: [2760,2770]`__import__`
299299
Identifier: __import__
300-
ExpressionStatementNode SourceSection: [2799,2839]`__import__("%s/ellip...`
301-
PythonCallNodeGen SourceSection: [2799,2839]`__import__("%s/ellip...`
300+
ExpressionStatementNode SourceSection: [2798,2838]`__import__("%s/ellip...`
301+
PythonCallNodeGen SourceSection: [2798,2838]`__import__("%s/ellip...`
302302
CallNodeGen SourceSection: None
303-
StringLiteralNode SourceSection: [2810,2826]`"%s/ellipsis.py"`
304-
StringLiteralNode SourceSection: [2828,2838]`"builtins"`
305-
ReadNameNodeGen SourceSection: [2799,2809]`__import__`
303+
StringLiteralNode SourceSection: [2809,2825]`"%s/ellipsis.py"`
304+
StringLiteralNode SourceSection: [2827,2837]`"builtins"`
305+
ReadNameNodeGen SourceSection: [2798,2808]`__import__`
306306
Identifier: __import__
307-
PythonCallNodeGen SourceSection: [2840,2879]`__import__("%s/timso...`
307+
PythonCallNodeGen SourceSection: [2839,2878]`__import__("%s/timso...`
308308
CallNodeGen SourceSection: None
309-
StringLiteralNode SourceSection: [2851,2866]`"%s/timsort.py"`
310-
StringLiteralNode SourceSection: [2868,2878]`"builtins"`
311-
ReadNameNodeGen SourceSection: [2840,2850]`__import__`
309+
StringLiteralNode SourceSection: [2850,2865]`"%s/timsort.py"`
310+
StringLiteralNode SourceSection: [2867,2877]`"builtins"`
311+
ReadNameNodeGen SourceSection: [2839,2849]`__import__`
312312
Identifier: __import__

0 commit comments

Comments
 (0)