2022-06-23 10:19:26 +03:00
|
|
|
---
|
|
|
|
namespace: Parse
|
2022-10-26 06:53:17 +03:00
|
|
|
expectation: Pass
|
2022-06-23 10:19:26 +03:00
|
|
|
outputs:
|
2022-10-26 06:53:17 +03:00
|
|
|
- imports: {}
|
|
|
|
program_scopes:
|
2023-09-29 00:35:52 +03:00
|
|
|
test:
|
2023-08-18 00:48:17 +03:00
|
|
|
program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}"
|
2022-10-26 06:53:17 +03:00
|
|
|
structs: {}
|
|
|
|
mappings: {}
|
|
|
|
functions:
|
2022-11-16 06:54:59 +03:00
|
|
|
x:
|
2022-10-26 06:53:17 +03:00
|
|
|
annotations: []
|
2023-02-09 03:41:32 +03:00
|
|
|
variant: Standard
|
2023-08-18 00:48:17 +03:00
|
|
|
identifier: "{\"id\":\"2\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}"
|
2022-10-26 06:53:17 +03:00
|
|
|
input:
|
|
|
|
- Internal:
|
2023-08-18 00:48:17 +03:00
|
|
|
identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":50,\\\"hi\\\":51}\"}"
|
2023-02-11 08:51:54 +03:00
|
|
|
mode: Constant
|
2022-10-26 06:53:17 +03:00
|
|
|
type_:
|
|
|
|
Integer: U32
|
|
|
|
span:
|
|
|
|
lo: 50
|
|
|
|
hi: 51
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 4
|
2022-10-26 06:53:17 +03:00
|
|
|
output:
|
|
|
|
- Internal:
|
|
|
|
mode: None
|
|
|
|
type_:
|
|
|
|
Integer: U8
|
|
|
|
span:
|
|
|
|
lo: 61
|
|
|
|
hi: 63
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 5
|
2022-10-26 06:53:17 +03:00
|
|
|
output_type:
|
|
|
|
Integer: U8
|
|
|
|
block:
|
|
|
|
statements:
|
|
|
|
- Conditional:
|
|
|
|
condition:
|
|
|
|
Binary:
|
|
|
|
left:
|
2023-08-18 00:48:17 +03:00
|
|
|
Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":77,\\\"hi\\\":78}\"}"
|
2022-10-26 06:53:17 +03:00
|
|
|
right:
|
|
|
|
Literal:
|
|
|
|
Integer:
|
|
|
|
- U32
|
|
|
|
- "5"
|
|
|
|
- span:
|
|
|
|
lo: 81
|
|
|
|
hi: 85
|
2023-08-18 00:48:17 +03:00
|
|
|
- 7
|
2022-10-26 06:53:17 +03:00
|
|
|
op: Lt
|
|
|
|
span:
|
|
|
|
lo: 77
|
|
|
|
hi: 85
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 8
|
2022-10-26 06:53:17 +03:00
|
|
|
then:
|
|
|
|
statements:
|
|
|
|
- Expression:
|
|
|
|
expression:
|
|
|
|
Call:
|
|
|
|
function:
|
2023-08-18 00:48:17 +03:00
|
|
|
Identifier: "{\"id\":\"9\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":100,\\\"hi\\\":101}\"}"
|
2022-10-26 06:53:17 +03:00
|
|
|
arguments:
|
|
|
|
- Binary:
|
|
|
|
left:
|
2023-08-18 00:48:17 +03:00
|
|
|
Identifier: "{\"id\":\"10\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":102,\\\"hi\\\":103}\"}"
|
2022-10-26 06:53:17 +03:00
|
|
|
right:
|
|
|
|
Literal:
|
|
|
|
Integer:
|
|
|
|
- U32
|
|
|
|
- "1"
|
|
|
|
- span:
|
|
|
|
lo: 104
|
|
|
|
hi: 108
|
2023-08-18 00:48:17 +03:00
|
|
|
- 11
|
2022-10-26 06:53:17 +03:00
|
|
|
op: Add
|
|
|
|
span:
|
|
|
|
lo: 102
|
|
|
|
hi: 108
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 12
|
2022-10-26 06:53:17 +03:00
|
|
|
external: ~
|
|
|
|
span:
|
|
|
|
lo: 100
|
|
|
|
hi: 109
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 13
|
2022-10-26 06:53:17 +03:00
|
|
|
span:
|
|
|
|
lo: 100
|
|
|
|
hi: 110
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 14
|
2022-10-26 06:53:17 +03:00
|
|
|
span:
|
|
|
|
lo: 86
|
|
|
|
hi: 120
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 15
|
2022-10-26 06:53:17 +03:00
|
|
|
otherwise: ~
|
|
|
|
span:
|
|
|
|
lo: 74
|
|
|
|
hi: 120
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 16
|
2022-10-26 06:53:17 +03:00
|
|
|
span:
|
|
|
|
lo: 64
|
|
|
|
hi: 126
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 17
|
2022-10-26 06:53:17 +03:00
|
|
|
finalize: ~
|
|
|
|
span:
|
|
|
|
lo: 30
|
|
|
|
hi: 126
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 18
|
2022-11-16 06:54:59 +03:00
|
|
|
main:
|
2022-10-26 06:53:17 +03:00
|
|
|
annotations: []
|
2023-02-09 03:41:32 +03:00
|
|
|
variant: Standard
|
2023-08-18 00:48:17 +03:00
|
|
|
identifier: "{\"id\":\"19\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":145,\\\"hi\\\":149}\"}"
|
2022-10-26 06:53:17 +03:00
|
|
|
input:
|
|
|
|
- Internal:
|
2023-08-18 00:48:17 +03:00
|
|
|
identifier: "{\"id\":\"20\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":150,\\\"hi\\\":151}\"}"
|
2022-10-26 06:53:17 +03:00
|
|
|
mode: None
|
|
|
|
type_: Boolean
|
|
|
|
span:
|
|
|
|
lo: 150
|
|
|
|
hi: 151
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 21
|
2022-10-26 06:53:17 +03:00
|
|
|
output:
|
|
|
|
- Internal:
|
|
|
|
mode: None
|
|
|
|
type_: Boolean
|
|
|
|
span:
|
|
|
|
lo: 162
|
|
|
|
hi: 166
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 22
|
2022-10-26 06:53:17 +03:00
|
|
|
output_type: Boolean
|
|
|
|
block:
|
|
|
|
statements:
|
|
|
|
- Expression:
|
|
|
|
expression:
|
|
|
|
Call:
|
|
|
|
function:
|
2023-08-18 00:48:17 +03:00
|
|
|
Identifier: "{\"id\":\"23\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":177,\\\"hi\\\":178}\"}"
|
2022-10-26 06:53:17 +03:00
|
|
|
arguments:
|
|
|
|
- Literal:
|
|
|
|
Integer:
|
|
|
|
- U32
|
|
|
|
- "1"
|
|
|
|
- span:
|
|
|
|
lo: 179
|
|
|
|
hi: 183
|
2023-08-18 00:48:17 +03:00
|
|
|
- 24
|
2022-10-26 06:53:17 +03:00
|
|
|
external: ~
|
|
|
|
span:
|
|
|
|
lo: 177
|
|
|
|
hi: 184
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 25
|
2022-10-26 06:53:17 +03:00
|
|
|
span:
|
|
|
|
lo: 177
|
|
|
|
hi: 185
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 26
|
2022-10-26 06:53:17 +03:00
|
|
|
- Return:
|
|
|
|
expression:
|
2023-08-18 00:48:17 +03:00
|
|
|
Identifier: "{\"id\":\"27\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":201,\\\"hi\\\":202}\"}"
|
2022-11-13 03:35:54 +03:00
|
|
|
finalize_arguments: ~
|
2022-10-26 06:53:17 +03:00
|
|
|
span:
|
|
|
|
lo: 194
|
2022-11-13 03:35:54 +03:00
|
|
|
hi: 203
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 28
|
2022-10-26 06:53:17 +03:00
|
|
|
span:
|
|
|
|
lo: 167
|
|
|
|
hi: 209
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 29
|
2022-10-26 06:53:17 +03:00
|
|
|
finalize: ~
|
|
|
|
span:
|
|
|
|
lo: 136
|
|
|
|
hi: 209
|
2023-08-18 00:48:17 +03:00
|
|
|
id: 30
|
2022-10-26 06:53:17 +03:00
|
|
|
span:
|
|
|
|
lo: 2
|
|
|
|
hi: 211
|