-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathAST.dot
More file actions
1108 lines (1108 loc) · 27 KB
/
AST.dot
File metadata and controls
1108 lines (1108 loc) · 27 KB
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
digraph G {
node [ordering=out]
0 [label="NAME (self)" ,shape= box ]
1 [label="NAME (name)" ,shape= box ]
2 [label="typedargslist" ,shape= oval ]
3 [label="DELIMITER(,)" ,shape= box ]
4 [label="parameters" ,shape= oval ]
5 [label="DELIMITER(()" ,shape= box ]
6 [label="DELIMITER())" ,shape= box ]
7 [label="NAME (self)" ,shape= box ]
8 [label="trailer" ,shape= oval ]
9 [label="DELIMITER(.)" ,shape= box ]
10 [label="NAME (name)" ,shape= box ]
11 [label="atom_expr" ,shape= oval ]
12 [label="NAME (name)" ,shape= box ]
13 [label="OPERATOR(=)" ,shape= box ]
14 [label="funcdef" ,shape= oval ]
15 [label="KEYWORD(def)" ,shape= box ]
16 [label="NAME (__init__)" ,shape= box ]
17 [label="DELIMITER(:)" ,shape= box ]
18 [label="NAME (self)" ,shape= box ]
19 [label="parameters" ,shape= oval ]
20 [label="DELIMITER(()" ,shape= box ]
21 [label="DELIMITER())" ,shape= box ]
22 [label="NUMBER (0)" ,shape= box ]
23 [label="return_stmt" ,shape= oval ]
24 [label="KEYWORD(return)" ,shape= box ]
25 [label="funcdef" ,shape= oval ]
26 [label="KEYWORD(def)" ,shape= box ]
27 [label="NAME (area)" ,shape= box ]
28 [label="DELIMITER(:)" ,shape= box ]
29 [label="NAME (self)" ,shape= box ]
30 [label="parameters" ,shape= oval ]
31 [label="DELIMITER(()" ,shape= box ]
32 [label="DELIMITER())" ,shape= box ]
33 [label="NUMBER (0)" ,shape= box ]
34 [label="return_stmt" ,shape= oval ]
35 [label="KEYWORD(return)" ,shape= box ]
36 [label="funcdef" ,shape= oval ]
37 [label="KEYWORD(def)" ,shape= box ]
38 [label="NAME (perimeter)" ,shape= box ]
39 [label="DELIMITER(:)" ,shape= box ]
40 [label="stmt_block" ,shape= oval ]
41 [label="stmt_block" ,shape= oval ]
42 [label="classdef" ,shape= oval ]
43 [label="KEYWORD(class)" ,shape= box ]
44 [label="NAME (Shape)" ,shape= box ]
45 [label="DELIMITER(:)" ,shape= box ]
46 [label="NAME (Shape)" ,shape= box ]
47 [label="NAME (self)" ,shape= box ]
48 [label="NAME (name)" ,shape= box ]
49 [label="typedargslist" ,shape= oval ]
50 [label="DELIMITER(,)" ,shape= box ]
51 [label="NAME (width)" ,shape= box ]
52 [label="typedargslist" ,shape= oval ]
53 [label="DELIMITER(,)" ,shape= box ]
54 [label="NAME (height)" ,shape= box ]
55 [label="typedargslist" ,shape= oval ]
56 [label="DELIMITER(,)" ,shape= box ]
57 [label="parameters" ,shape= oval ]
58 [label="DELIMITER(()" ,shape= box ]
59 [label="DELIMITER())" ,shape= box ]
60 [label="NAME (super)" ,shape= box ]
61 [label="trailer" ,shape= oval ]
62 [label="DELIMITER(()" ,shape= box ]
63 [label="DELIMITER())" ,shape= box ]
64 [label="atom_expr" ,shape= oval ]
65 [label="trailer" ,shape= oval ]
66 [label="DELIMITER(.)" ,shape= box ]
67 [label="NAME (__init__)" ,shape= box ]
68 [label="atom_expr" ,shape= oval ]
69 [label="NAME (name)" ,shape= box ]
70 [label="trailer" ,shape= oval ]
71 [label="DELIMITER(()" ,shape= box ]
72 [label="DELIMITER())" ,shape= box ]
73 [label="atom_expr" ,shape= oval ]
74 [label="NAME (self)" ,shape= box ]
75 [label="trailer" ,shape= oval ]
76 [label="DELIMITER(.)" ,shape= box ]
77 [label="NAME (width)" ,shape= box ]
78 [label="atom_expr" ,shape= oval ]
79 [label="NAME (width)" ,shape= box ]
80 [label="OPERATOR(=)" ,shape= box ]
81 [label="NAME (self)" ,shape= box ]
82 [label="trailer" ,shape= oval ]
83 [label="DELIMITER(.)" ,shape= box ]
84 [label="NAME (height)" ,shape= box ]
85 [label="atom_expr" ,shape= oval ]
86 [label="NAME (height)" ,shape= box ]
87 [label="OPERATOR(=)" ,shape= box ]
88 [label="stmt_block" ,shape= oval ]
89 [label="stmt_block" ,shape= oval ]
90 [label="funcdef" ,shape= oval ]
91 [label="KEYWORD(def)" ,shape= box ]
92 [label="NAME (__init__)" ,shape= box ]
93 [label="DELIMITER(:)" ,shape= box ]
94 [label="NAME (self)" ,shape= box ]
95 [label="parameters" ,shape= oval ]
96 [label="DELIMITER(()" ,shape= box ]
97 [label="DELIMITER())" ,shape= box ]
98 [label="NAME (self)" ,shape= box ]
99 [label="trailer" ,shape= oval ]
100 [label="DELIMITER(.)" ,shape= box ]
101 [label="NAME (width)" ,shape= box ]
102 [label="atom_expr" ,shape= oval ]
103 [label="NAME (self)" ,shape= box ]
104 [label="trailer" ,shape= oval ]
105 [label="DELIMITER(.)" ,shape= box ]
106 [label="NAME (height)" ,shape= box ]
107 [label="atom_expr" ,shape= oval ]
108 [label="OPERATOR(*)" ,shape= box ]
109 [label="return_stmt" ,shape= oval ]
110 [label="KEYWORD(return)" ,shape= box ]
111 [label="funcdef" ,shape= oval ]
112 [label="KEYWORD(def)" ,shape= box ]
113 [label="NAME (area)" ,shape= box ]
114 [label="DELIMITER(:)" ,shape= box ]
115 [label="NAME (self)" ,shape= box ]
116 [label="parameters" ,shape= oval ]
117 [label="DELIMITER(()" ,shape= box ]
118 [label="DELIMITER())" ,shape= box ]
119 [label="NUMBER (2)" ,shape= box ]
120 [label="NAME (self)" ,shape= box ]
121 [label="trailer" ,shape= oval ]
122 [label="DELIMITER(.)" ,shape= box ]
123 [label="NAME (width)" ,shape= box ]
124 [label="atom_expr" ,shape= oval ]
125 [label="NAME (self)" ,shape= box ]
126 [label="trailer" ,shape= oval ]
127 [label="DELIMITER(.)" ,shape= box ]
128 [label="NAME (height)" ,shape= box ]
129 [label="atom_expr" ,shape= oval ]
130 [label="OPERATOR(+)" ,shape= box ]
131 [label="atom" ,shape= oval ]
132 [label="DELIMITER(()" ,shape= box ]
133 [label="DELIMITER())" ,shape= box ]
134 [label="OPERATOR(*)" ,shape= box ]
135 [label="return_stmt" ,shape= oval ]
136 [label="KEYWORD(return)" ,shape= box ]
137 [label="funcdef" ,shape= oval ]
138 [label="KEYWORD(def)" ,shape= box ]
139 [label="NAME (perimeter)" ,shape= box ]
140 [label="DELIMITER(:)" ,shape= box ]
141 [label="stmt_block" ,shape= oval ]
142 [label="stmt_block" ,shape= oval ]
143 [label="classdef" ,shape= oval ]
144 [label="KEYWORD(class)" ,shape= box ]
145 [label="NAME (Rectangle)" ,shape= box ]
146 [label="DELIMITER(()" ,shape= box ]
147 [label="DELIMITER())" ,shape= box ]
148 [label="DELIMITER(:)" ,shape= box ]
149 [label="Statements" ,shape= oval ]
150 [label="NAME (Shape)" ,shape= box ]
151 [label="NAME (self)" ,shape= box ]
152 [label="NAME (name)" ,shape= box ]
153 [label="typedargslist" ,shape= oval ]
154 [label="DELIMITER(,)" ,shape= box ]
155 [label="NAME (radius)" ,shape= box ]
156 [label="typedargslist" ,shape= oval ]
157 [label="DELIMITER(,)" ,shape= box ]
158 [label="parameters" ,shape= oval ]
159 [label="DELIMITER(()" ,shape= box ]
160 [label="DELIMITER())" ,shape= box ]
161 [label="NAME (super)" ,shape= box ]
162 [label="trailer" ,shape= oval ]
163 [label="DELIMITER(()" ,shape= box ]
164 [label="DELIMITER())" ,shape= box ]
165 [label="atom_expr" ,shape= oval ]
166 [label="trailer" ,shape= oval ]
167 [label="DELIMITER(.)" ,shape= box ]
168 [label="NAME (__init__)" ,shape= box ]
169 [label="atom_expr" ,shape= oval ]
170 [label="NAME (name)" ,shape= box ]
171 [label="trailer" ,shape= oval ]
172 [label="DELIMITER(()" ,shape= box ]
173 [label="DELIMITER())" ,shape= box ]
174 [label="atom_expr" ,shape= oval ]
175 [label="NAME (self)" ,shape= box ]
176 [label="trailer" ,shape= oval ]
177 [label="DELIMITER(.)" ,shape= box ]
178 [label="NAME (radius)" ,shape= box ]
179 [label="atom_expr" ,shape= oval ]
180 [label="NAME (radius)" ,shape= box ]
181 [label="OPERATOR(=)" ,shape= box ]
182 [label="stmt_block" ,shape= oval ]
183 [label="funcdef" ,shape= oval ]
184 [label="KEYWORD(def)" ,shape= box ]
185 [label="NAME (__init__)" ,shape= box ]
186 [label="DELIMITER(:)" ,shape= box ]
187 [label="NAME (self)" ,shape= box ]
188 [label="parameters" ,shape= oval ]
189 [label="DELIMITER(()" ,shape= box ]
190 [label="DELIMITER())" ,shape= box ]
191 [label="NUMBER (3.14)" ,shape= box ]
192 [label="NAME (self)" ,shape= box ]
193 [label="trailer" ,shape= oval ]
194 [label="DELIMITER(.)" ,shape= box ]
195 [label="NAME (radius)" ,shape= box ]
196 [label="atom_expr" ,shape= oval ]
197 [label="NUMBER (2)" ,shape= box ]
198 [label="OPERATOR(**)" ,shape= box ]
199 [label="OPERATOR(*)" ,shape= box ]
200 [label="return_stmt" ,shape= oval ]
201 [label="KEYWORD(return)" ,shape= box ]
202 [label="funcdef" ,shape= oval ]
203 [label="KEYWORD(def)" ,shape= box ]
204 [label="NAME (area)" ,shape= box ]
205 [label="DELIMITER(:)" ,shape= box ]
206 [label="NAME (self)" ,shape= box ]
207 [label="parameters" ,shape= oval ]
208 [label="DELIMITER(()" ,shape= box ]
209 [label="DELIMITER())" ,shape= box ]
210 [label="NUMBER (2)" ,shape= box ]
211 [label="NUMBER (3.14)" ,shape= box ]
212 [label="OPERATOR(*)" ,shape= box ]
213 [label="NAME (self)" ,shape= box ]
214 [label="trailer" ,shape= oval ]
215 [label="DELIMITER(.)" ,shape= box ]
216 [label="NAME (radius)" ,shape= box ]
217 [label="atom_expr" ,shape= oval ]
218 [label="OPERATOR(*)" ,shape= box ]
219 [label="return_stmt" ,shape= oval ]
220 [label="KEYWORD(return)" ,shape= box ]
221 [label="funcdef" ,shape= oval ]
222 [label="KEYWORD(def)" ,shape= box ]
223 [label="NAME (perimeter)" ,shape= box ]
224 [label="DELIMITER(:)" ,shape= box ]
225 [label="stmt_block" ,shape= oval ]
226 [label="stmt_block" ,shape= oval ]
227 [label="classdef" ,shape= oval ]
228 [label="KEYWORD(class)" ,shape= box ]
229 [label="NAME (Circle)" ,shape= box ]
230 [label="DELIMITER(()" ,shape= box ]
231 [label="DELIMITER())" ,shape= box ]
232 [label="DELIMITER(:)" ,shape= box ]
233 [label="Statements" ,shape= oval ]
234 [label="NAME (self)" ,shape= box ]
235 [label="NAME (num1)" ,shape= box ]
236 [label="typedargslist" ,shape= oval ]
237 [label="DELIMITER(,)" ,shape= box ]
238 [label="NAME (num2)" ,shape= box ]
239 [label="typedargslist" ,shape= oval ]
240 [label="DELIMITER(,)" ,shape= box ]
241 [label="parameters" ,shape= oval ]
242 [label="DELIMITER(()" ,shape= box ]
243 [label="DELIMITER())" ,shape= box ]
244 [label="NAME (num1)" ,shape= box ]
245 [label="NAME (num2)" ,shape= box ]
246 [label="OPERATOR(+)" ,shape= box ]
247 [label="return_stmt" ,shape= oval ]
248 [label="KEYWORD(return)" ,shape= box ]
249 [label="funcdef" ,shape= oval ]
250 [label="KEYWORD(def)" ,shape= box ]
251 [label="NAME (add)" ,shape= box ]
252 [label="DELIMITER(:)" ,shape= box ]
253 [label="NAME (self)" ,shape= box ]
254 [label="NAME (num1)" ,shape= box ]
255 [label="typedargslist" ,shape= oval ]
256 [label="DELIMITER(,)" ,shape= box ]
257 [label="NAME (num2)" ,shape= box ]
258 [label="typedargslist" ,shape= oval ]
259 [label="DELIMITER(,)" ,shape= box ]
260 [label="parameters" ,shape= oval ]
261 [label="DELIMITER(()" ,shape= box ]
262 [label="DELIMITER())" ,shape= box ]
263 [label="NAME (num1)" ,shape= box ]
264 [label="NAME (num2)" ,shape= box ]
265 [label="OPERATOR(-)" ,shape= box ]
266 [label="return_stmt" ,shape= oval ]
267 [label="KEYWORD(return)" ,shape= box ]
268 [label="funcdef" ,shape= oval ]
269 [label="KEYWORD(def)" ,shape= box ]
270 [label="NAME (subtract)" ,shape= box ]
271 [label="DELIMITER(:)" ,shape= box ]
272 [label="NAME (self)" ,shape= box ]
273 [label="NAME (num1)" ,shape= box ]
274 [label="typedargslist" ,shape= oval ]
275 [label="DELIMITER(,)" ,shape= box ]
276 [label="NAME (num2)" ,shape= box ]
277 [label="typedargslist" ,shape= oval ]
278 [label="DELIMITER(,)" ,shape= box ]
279 [label="parameters" ,shape= oval ]
280 [label="DELIMITER(()" ,shape= box ]
281 [label="DELIMITER())" ,shape= box ]
282 [label="NAME (num1)" ,shape= box ]
283 [label="NAME (num2)" ,shape= box ]
284 [label="OPERATOR(*)" ,shape= box ]
285 [label="return_stmt" ,shape= oval ]
286 [label="KEYWORD(return)" ,shape= box ]
287 [label="funcdef" ,shape= oval ]
288 [label="KEYWORD(def)" ,shape= box ]
289 [label="NAME (multiply)" ,shape= box ]
290 [label="DELIMITER(:)" ,shape= box ]
291 [label="NAME (self)" ,shape= box ]
292 [label="NAME (num1)" ,shape= box ]
293 [label="typedargslist" ,shape= oval ]
294 [label="DELIMITER(,)" ,shape= box ]
295 [label="NAME (num2)" ,shape= box ]
296 [label="typedargslist" ,shape= oval ]
297 [label="DELIMITER(,)" ,shape= box ]
298 [label="parameters" ,shape= oval ]
299 [label="DELIMITER(()" ,shape= box ]
300 [label="DELIMITER())" ,shape= box ]
301 [label="NAME (num2)" ,shape= box ]
302 [label="OPERATOR(!=)" ,shape= box ]
303 [label="NUMBER (0)" ,shape= box ]
304 [label="NAME (num1)" ,shape= box ]
305 [label="NAME (num2)" ,shape= box ]
306 [label="OPERATOR(/)" ,shape= box ]
307 [label="return_stmt" ,shape= oval ]
308 [label="KEYWORD(return)" ,shape= box ]
309 [label="STRING(\"Error: Division by zero\")" ,shape= box ]
310 [label="return_stmt" ,shape= oval ]
311 [label="KEYWORD(return)" ,shape= box ]
312 [label="if_stmt" ,shape= oval ]
313 [label="KEYWORD(if)" ,shape= box ]
314 [label="DELIMITER(:)" ,shape= box ]
315 [label="KEYWORD(else)" ,shape= box ]
316 [label="DELIMITER(:)" ,shape= box ]
317 [label="funcdef" ,shape= oval ]
318 [label="KEYWORD(def)" ,shape= box ]
319 [label="NAME (divide)" ,shape= box ]
320 [label="DELIMITER(:)" ,shape= box ]
321 [label="stmt_block" ,shape= oval ]
322 [label="stmt_block" ,shape= oval ]
323 [label="stmt_block" ,shape= oval ]
324 [label="classdef" ,shape= oval ]
325 [label="KEYWORD(class)" ,shape= box ]
326 [label="NAME (Calculator)" ,shape= box ]
327 [label="DELIMITER(:)" ,shape= box ]
328 [label="Statements" ,shape= oval ]
329 [label="NAME (rectangle)" ,shape= box ]
330 [label="NAME (Rectangle)" ,shape= box ]
331 [label="STRING(\"Rectangle\")" ,shape= box ]
332 [label="NUMBER (5)" ,shape= box ]
333 [label="arglist" ,shape= oval ]
334 [label="DELIMITER(,)" ,shape= box ]
335 [label="NUMBER (3)" ,shape= box ]
336 [label="arglist" ,shape= oval ]
337 [label="DELIMITER(,)" ,shape= box ]
338 [label="trailer" ,shape= oval ]
339 [label="DELIMITER(()" ,shape= box ]
340 [label="DELIMITER())" ,shape= box ]
341 [label="atom_expr" ,shape= oval ]
342 [label="OPERATOR(=)" ,shape= box ]
343 [label="Statements" ,shape= oval ]
344 [label="NAME (circle)" ,shape= box ]
345 [label="NAME (Circle)" ,shape= box ]
346 [label="STRING(\"Circle\")" ,shape= box ]
347 [label="NUMBER (4)" ,shape= box ]
348 [label="arglist" ,shape= oval ]
349 [label="DELIMITER(,)" ,shape= box ]
350 [label="trailer" ,shape= oval ]
351 [label="DELIMITER(()" ,shape= box ]
352 [label="DELIMITER())" ,shape= box ]
353 [label="atom_expr" ,shape= oval ]
354 [label="OPERATOR(=)" ,shape= box ]
355 [label="Statements" ,shape= oval ]
356 [label="NAME (print)" ,shape= box ]
357 [label="NAME (rectangle)" ,shape= box ]
358 [label="trailer" ,shape= oval ]
359 [label="DELIMITER(.)" ,shape= box ]
360 [label="NAME (name)" ,shape= box ]
361 [label="atom_expr" ,shape= oval ]
362 [label="STRING(\"Area:\")" ,shape= box ]
363 [label="arglist" ,shape= oval ]
364 [label="DELIMITER(,)" ,shape= box ]
365 [label="NAME (rectangle)" ,shape= box ]
366 [label="trailer" ,shape= oval ]
367 [label="DELIMITER(.)" ,shape= box ]
368 [label="NAME (area)" ,shape= box ]
369 [label="atom_expr" ,shape= oval ]
370 [label="trailer" ,shape= oval ]
371 [label="DELIMITER(()" ,shape= box ]
372 [label="DELIMITER())" ,shape= box ]
373 [label="atom_expr" ,shape= oval ]
374 [label="arglist" ,shape= oval ]
375 [label="DELIMITER(,)" ,shape= box ]
376 [label="trailer" ,shape= oval ]
377 [label="DELIMITER(()" ,shape= box ]
378 [label="DELIMITER())" ,shape= box ]
379 [label="atom_expr" ,shape= oval ]
380 [label="Statements" ,shape= oval ]
381 [label="NAME (print)" ,shape= box ]
382 [label="NAME (rectangle)" ,shape= box ]
383 [label="trailer" ,shape= oval ]
384 [label="DELIMITER(.)" ,shape= box ]
385 [label="NAME (name)" ,shape= box ]
386 [label="atom_expr" ,shape= oval ]
387 [label="STRING(\"Perimeter:\")" ,shape= box ]
388 [label="arglist" ,shape= oval ]
389 [label="DELIMITER(,)" ,shape= box ]
390 [label="NAME (rectangle)" ,shape= box ]
391 [label="trailer" ,shape= oval ]
392 [label="DELIMITER(.)" ,shape= box ]
393 [label="NAME (perimeter)" ,shape= box ]
394 [label="atom_expr" ,shape= oval ]
395 [label="trailer" ,shape= oval ]
396 [label="DELIMITER(()" ,shape= box ]
397 [label="DELIMITER())" ,shape= box ]
398 [label="atom_expr" ,shape= oval ]
399 [label="arglist" ,shape= oval ]
400 [label="DELIMITER(,)" ,shape= box ]
401 [label="trailer" ,shape= oval ]
402 [label="DELIMITER(()" ,shape= box ]
403 [label="DELIMITER())" ,shape= box ]
404 [label="atom_expr" ,shape= oval ]
405 [label="Statements" ,shape= oval ]
406 [label="NAME (print)" ,shape= box ]
407 [label="NAME (circle)" ,shape= box ]
408 [label="trailer" ,shape= oval ]
409 [label="DELIMITER(.)" ,shape= box ]
410 [label="NAME (name)" ,shape= box ]
411 [label="atom_expr" ,shape= oval ]
412 [label="STRING(\"Area:\")" ,shape= box ]
413 [label="arglist" ,shape= oval ]
414 [label="DELIMITER(,)" ,shape= box ]
415 [label="NAME (circle)" ,shape= box ]
416 [label="trailer" ,shape= oval ]
417 [label="DELIMITER(.)" ,shape= box ]
418 [label="NAME (area)" ,shape= box ]
419 [label="atom_expr" ,shape= oval ]
420 [label="trailer" ,shape= oval ]
421 [label="DELIMITER(()" ,shape= box ]
422 [label="DELIMITER())" ,shape= box ]
423 [label="atom_expr" ,shape= oval ]
424 [label="arglist" ,shape= oval ]
425 [label="DELIMITER(,)" ,shape= box ]
426 [label="trailer" ,shape= oval ]
427 [label="DELIMITER(()" ,shape= box ]
428 [label="DELIMITER())" ,shape= box ]
429 [label="atom_expr" ,shape= oval ]
430 [label="Statements" ,shape= oval ]
431 [label="NAME (print)" ,shape= box ]
432 [label="NAME (circle)" ,shape= box ]
433 [label="trailer" ,shape= oval ]
434 [label="DELIMITER(.)" ,shape= box ]
435 [label="NAME (name)" ,shape= box ]
436 [label="atom_expr" ,shape= oval ]
437 [label="STRING(\"Perimeter:\")" ,shape= box ]
438 [label="arglist" ,shape= oval ]
439 [label="DELIMITER(,)" ,shape= box ]
440 [label="NAME (circle)" ,shape= box ]
441 [label="trailer" ,shape= oval ]
442 [label="DELIMITER(.)" ,shape= box ]
443 [label="NAME (perimeter)" ,shape= box ]
444 [label="atom_expr" ,shape= oval ]
445 [label="trailer" ,shape= oval ]
446 [label="DELIMITER(()" ,shape= box ]
447 [label="DELIMITER())" ,shape= box ]
448 [label="atom_expr" ,shape= oval ]
449 [label="arglist" ,shape= oval ]
450 [label="DELIMITER(,)" ,shape= box ]
451 [label="trailer" ,shape= oval ]
452 [label="DELIMITER(()" ,shape= box ]
453 [label="DELIMITER())" ,shape= box ]
454 [label="atom_expr" ,shape= oval ]
455 [label="Statements" ,shape= oval ]
456 [label="NAME (calculator)" ,shape= box ]
457 [label="NAME (Calculator)" ,shape= box ]
458 [label="trailer" ,shape= oval ]
459 [label="DELIMITER(()" ,shape= box ]
460 [label="DELIMITER())" ,shape= box ]
461 [label="atom_expr" ,shape= oval ]
462 [label="OPERATOR(=)" ,shape= box ]
463 [label="Statements" ,shape= oval ]
464 [label="NAME (print)" ,shape= box ]
465 [label="STRING(\"Addition:\")" ,shape= box ]
466 [label="NAME (calculator)" ,shape= box ]
467 [label="trailer" ,shape= oval ]
468 [label="DELIMITER(.)" ,shape= box ]
469 [label="NAME (add)" ,shape= box ]
470 [label="atom_expr" ,shape= oval ]
471 [label="NUMBER (10)" ,shape= box ]
472 [label="NUMBER (5)" ,shape= box ]
473 [label="arglist" ,shape= oval ]
474 [label="DELIMITER(,)" ,shape= box ]
475 [label="trailer" ,shape= oval ]
476 [label="DELIMITER(()" ,shape= box ]
477 [label="DELIMITER())" ,shape= box ]
478 [label="atom_expr" ,shape= oval ]
479 [label="arglist" ,shape= oval ]
480 [label="DELIMITER(,)" ,shape= box ]
481 [label="trailer" ,shape= oval ]
482 [label="DELIMITER(()" ,shape= box ]
483 [label="DELIMITER())" ,shape= box ]
484 [label="atom_expr" ,shape= oval ]
485 [label="Statements" ,shape= oval ]
486 [label="NAME (print)" ,shape= box ]
487 [label="STRING(\"Subtraction:\")" ,shape= box ]
488 [label="NAME (calculator)" ,shape= box ]
489 [label="trailer" ,shape= oval ]
490 [label="DELIMITER(.)" ,shape= box ]
491 [label="NAME (subtract)" ,shape= box ]
492 [label="atom_expr" ,shape= oval ]
493 [label="NUMBER (10)" ,shape= box ]
494 [label="NUMBER (5)" ,shape= box ]
495 [label="arglist" ,shape= oval ]
496 [label="DELIMITER(,)" ,shape= box ]
497 [label="trailer" ,shape= oval ]
498 [label="DELIMITER(()" ,shape= box ]
499 [label="DELIMITER())" ,shape= box ]
500 [label="atom_expr" ,shape= oval ]
501 [label="arglist" ,shape= oval ]
502 [label="DELIMITER(,)" ,shape= box ]
503 [label="trailer" ,shape= oval ]
504 [label="DELIMITER(()" ,shape= box ]
505 [label="DELIMITER())" ,shape= box ]
506 [label="atom_expr" ,shape= oval ]
507 [label="Statements" ,shape= oval ]
508 [label="NAME (print)" ,shape= box ]
509 [label="STRING(\"Multiplication:\")" ,shape= box ]
510 [label="NAME (calculator)" ,shape= box ]
511 [label="trailer" ,shape= oval ]
512 [label="DELIMITER(.)" ,shape= box ]
513 [label="NAME (multiply)" ,shape= box ]
514 [label="atom_expr" ,shape= oval ]
515 [label="NUMBER (10)" ,shape= box ]
516 [label="NUMBER (5)" ,shape= box ]
517 [label="arglist" ,shape= oval ]
518 [label="DELIMITER(,)" ,shape= box ]
519 [label="trailer" ,shape= oval ]
520 [label="DELIMITER(()" ,shape= box ]
521 [label="DELIMITER())" ,shape= box ]
522 [label="atom_expr" ,shape= oval ]
523 [label="arglist" ,shape= oval ]
524 [label="DELIMITER(,)" ,shape= box ]
525 [label="trailer" ,shape= oval ]
526 [label="DELIMITER(()" ,shape= box ]
527 [label="DELIMITER())" ,shape= box ]
528 [label="atom_expr" ,shape= oval ]
529 [label="Statements" ,shape= oval ]
530 [label="NAME (print)" ,shape= box ]
531 [label="STRING(\"Division:\")" ,shape= box ]
532 [label="NAME (calculator)" ,shape= box ]
533 [label="trailer" ,shape= oval ]
534 [label="DELIMITER(.)" ,shape= box ]
535 [label="NAME (divide)" ,shape= box ]
536 [label="atom_expr" ,shape= oval ]
537 [label="NUMBER (10)" ,shape= box ]
538 [label="NUMBER (5)" ,shape= box ]
539 [label="arglist" ,shape= oval ]
540 [label="DELIMITER(,)" ,shape= box ]
541 [label="trailer" ,shape= oval ]
542 [label="DELIMITER(()" ,shape= box ]
543 [label="DELIMITER())" ,shape= box ]
544 [label="atom_expr" ,shape= oval ]
545 [label="arglist" ,shape= oval ]
546 [label="DELIMITER(,)" ,shape= box ]
547 [label="trailer" ,shape= oval ]
548 [label="DELIMITER(()" ,shape= box ]
549 [label="DELIMITER())" ,shape= box ]
550 [label="atom_expr" ,shape= oval ]
551 [label="Statements" ,shape= oval ]
552 [label="INPUT" ,shape= oval ]
2 -> 0
2 -> 3
2 -> 1
4 -> 5
4 -> 2
4 -> 6
8 -> 9
8 -> 10
11 -> 7
11 -> 8
13 -> 11
13 -> 12
14 -> 15
14 -> 16
14 -> 4
14 -> 17
14 -> 13
19 -> 20
19 -> 18
19 -> 21
23 -> 24
23 -> 22
25 -> 26
25 -> 27
25 -> 19
25 -> 28
25 -> 23
30 -> 31
30 -> 29
30 -> 32
34 -> 35
34 -> 33
36 -> 37
36 -> 38
36 -> 30
36 -> 39
36 -> 34
40 -> 25
40 -> 36
41 -> 14
41 -> 40
42 -> 43
42 -> 44
42 -> 45
42 -> 41
49 -> 47
49 -> 50
49 -> 48
52 -> 49
52 -> 53
52 -> 51
55 -> 52
55 -> 56
55 -> 54
57 -> 58
57 -> 55
57 -> 59
61 -> 62
61 -> 63
64 -> 60
64 -> 61
65 -> 66
65 -> 67
68 -> 64
68 -> 65
70 -> 71
70 -> 69
70 -> 72
73 -> 68
73 -> 70
75 -> 76
75 -> 77
78 -> 74
78 -> 75
80 -> 78
80 -> 79
82 -> 83
82 -> 84
85 -> 81
85 -> 82
87 -> 85
87 -> 86
88 -> 80
88 -> 87
89 -> 73
89 -> 88
90 -> 91
90 -> 92
90 -> 57
90 -> 93
90 -> 89
95 -> 96
95 -> 94
95 -> 97
99 -> 100
99 -> 101
102 -> 98
102 -> 99
104 -> 105
104 -> 106
107 -> 103
107 -> 104
108 -> 102
108 -> 107
109 -> 110
109 -> 108
111 -> 112
111 -> 113
111 -> 95
111 -> 114
111 -> 109
116 -> 117
116 -> 115
116 -> 118
121 -> 122
121 -> 123
124 -> 120
124 -> 121
126 -> 127
126 -> 128
129 -> 125
129 -> 126
130 -> 124
130 -> 129
131 -> 132
131 -> 130
131 -> 133
134 -> 119
134 -> 131
135 -> 136
135 -> 134
137 -> 138
137 -> 139
137 -> 116
137 -> 140
137 -> 135
141 -> 111
141 -> 137
142 -> 90
142 -> 141
143 -> 144
143 -> 145
143 -> 146
143 -> 46
143 -> 147
143 -> 148
143 -> 142
149 -> 42
149 -> 143
153 -> 151
153 -> 154
153 -> 152
156 -> 153
156 -> 157
156 -> 155
158 -> 159
158 -> 156
158 -> 160
162 -> 163
162 -> 164
165 -> 161
165 -> 162
166 -> 167
166 -> 168
169 -> 165
169 -> 166
171 -> 172
171 -> 170
171 -> 173
174 -> 169
174 -> 171
176 -> 177
176 -> 178
179 -> 175
179 -> 176
181 -> 179
181 -> 180
182 -> 174
182 -> 181
183 -> 184
183 -> 185
183 -> 158
183 -> 186
183 -> 182
188 -> 189
188 -> 187
188 -> 190
193 -> 194
193 -> 195
196 -> 192
196 -> 193
198 -> 196
198 -> 197
199 -> 191
199 -> 198
200 -> 201
200 -> 199
202 -> 203
202 -> 204
202 -> 188
202 -> 205
202 -> 200
207 -> 208
207 -> 206
207 -> 209
212 -> 210
212 -> 211
214 -> 215
214 -> 216
217 -> 213
217 -> 214
218 -> 212
218 -> 217
219 -> 220
219 -> 218
221 -> 222
221 -> 223
221 -> 207
221 -> 224
221 -> 219
225 -> 202
225 -> 221
226 -> 183
226 -> 225
227 -> 228
227 -> 229
227 -> 230
227 -> 150
227 -> 231
227 -> 232
227 -> 226
233 -> 149
233 -> 227
236 -> 234
236 -> 237
236 -> 235
239 -> 236
239 -> 240
239 -> 238
241 -> 242
241 -> 239
241 -> 243
246 -> 244
246 -> 245
247 -> 248
247 -> 246
249 -> 250
249 -> 251
249 -> 241
249 -> 252
249 -> 247
255 -> 253
255 -> 256
255 -> 254
258 -> 255
258 -> 259
258 -> 257
260 -> 261
260 -> 258
260 -> 262
265 -> 263
265 -> 264
266 -> 267
266 -> 265
268 -> 269
268 -> 270
268 -> 260
268 -> 271
268 -> 266
274 -> 272
274 -> 275
274 -> 273
277 -> 274
277 -> 278
277 -> 276
279 -> 280
279 -> 277
279 -> 281
284 -> 282
284 -> 283
285 -> 286
285 -> 284
287 -> 288
287 -> 289
287 -> 279
287 -> 290
287 -> 285
293 -> 291
293 -> 294
293 -> 292
296 -> 293
296 -> 297
296 -> 295
298 -> 299
298 -> 296
298 -> 300
302 -> 301
302 -> 303
306 -> 304
306 -> 305
307 -> 308
307 -> 306
310 -> 311
310 -> 309
312 -> 313
312 -> 302
312 -> 314
312 -> 307
312 -> 315
312 -> 316
312 -> 310
317 -> 318
317 -> 319
317 -> 298
317 -> 320
317 -> 312
321 -> 287
321 -> 317
322 -> 268
322 -> 321
323 -> 249
323 -> 322
324 -> 325
324 -> 326
324 -> 327
324 -> 323
328 -> 233
328 -> 324
333 -> 331
333 -> 334
333 -> 332
336 -> 333
336 -> 337
336 -> 335
338 -> 339
338 -> 336
338 -> 340
341 -> 330
341 -> 338
342 -> 329
342 -> 341
343 -> 328
343 -> 342
348 -> 346
348 -> 349
348 -> 347
350 -> 351
350 -> 348
350 -> 352
353 -> 345
353 -> 350
354 -> 344
354 -> 353
355 -> 343
355 -> 354
358 -> 359
358 -> 360
361 -> 357
361 -> 358
363 -> 361
363 -> 364
363 -> 362
366 -> 367
366 -> 368
369 -> 365
369 -> 366
370 -> 371
370 -> 372
373 -> 369
373 -> 370
374 -> 363
374 -> 375
374 -> 373
376 -> 377
376 -> 374
376 -> 378
379 -> 356
379 -> 376
380 -> 355
380 -> 379
383 -> 384
383 -> 385
386 -> 382
386 -> 383
388 -> 386
388 -> 389
388 -> 387
391 -> 392
391 -> 393
394 -> 390
394 -> 391
395 -> 396
395 -> 397
398 -> 394
398 -> 395
399 -> 388
399 -> 400
399 -> 398
401 -> 402
401 -> 399
401 -> 403
404 -> 381
404 -> 401
405 -> 380
405 -> 404
408 -> 409
408 -> 410
411 -> 407
411 -> 408
413 -> 411
413 -> 414
413 -> 412
416 -> 417
416 -> 418
419 -> 415
419 -> 416
420 -> 421
420 -> 422
423 -> 419
423 -> 420
424 -> 413
424 -> 425
424 -> 423
426 -> 427
426 -> 424
426 -> 428
429 -> 406
429 -> 426
430 -> 405
430 -> 429
433 -> 434
433 -> 435
436 -> 432
436 -> 433
438 -> 436
438 -> 439
438 -> 437
441 -> 442
441 -> 443
444 -> 440
444 -> 441
445 -> 446
445 -> 447
448 -> 444
448 -> 445