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
---
source: crates/rascal/src/program.rs
expression: parsed
input_file: samples/as2/if_frame_loaded.as
---
Ok:
initial_script:
- WaitForFrame:
frame:
span:
start: 14
end: 15
file: 0
value:
Constant:
Integer: 2
scene: ~
if_loaded:
Expr:
span:
start: 17
end: 37
file: 0
value:
Trace:
span:
start: 23
end: 36
file: 0
value:
Constant:
String: single line
- WaitForFrame:
frame:
span:
start: 63
end: 68
file: 0
value:
Constant:
Identifier: frame
scene:
span:
start: 54
end: 61
file: 0
value:
Constant:
String: scene
if_loaded:
Block:
- Expr:
span:
start: 73
end: 87
file: 0
value:
Trace:
span:
start: 79
end: 86
file: 0
value:
Constant:
String: block
- WaitForFrame:
frame:
span:
start: 106
end: 107
file: 0
value:
Constant:
Integer: 3
scene: ~
if_loaded:
If:
condition:
span:
start: 113
end: 117
file: 0
value:
Constant:
Identifier: this
"yes":
Block:
- Expr:
span:
start: 122
end: 149
file: 0
value:
Trace:
span:
start: 128
end: 148
file: 0
value:
Constant:
String: nested conditions!
"no": ~
- Expr:
span:
start: 154
end: 167
file: 0
value:
Trace:
span:
start: 160
end: 166
file: 0
value:
Constant:
String: end!
interfaces: []
classes: []
custom_pcodes: []
compile_options:
swf_version: 15
optimizations:
fold_constants: true
promote_variables_to_registers: true