leo/tests/expectations/parser/functions/public_param.out

136 lines
4.3 KiB
Plaintext
Raw Normal View History

2022-06-23 10:19:26 +03:00
---
namespace: Parse
expectation: Pass
outputs:
2022-10-06 09:52:37 +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}\\\\\\\"}\\\"\"}"
2023-09-27 01:00:14 +03:00
consts: []
structs: []
mappings: []
2022-10-06 09:52:37 +03:00
functions:
2023-09-27 01:00:14 +03:00
- - x
- annotations: []
variant: Standard
identifier: "{\"id\":\"2\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}"
input:
- Internal:
identifier: "{\"id\":\"3\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":41,\\\"hi\\\":42}\"}"
mode: None
type_:
Integer: U32
2022-10-06 09:52:37 +03:00
span:
2023-09-27 01:00:14 +03:00
lo: 41
hi: 42
id: 4
- Internal:
identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":56,\\\"hi\\\":57}\"}"
mode: Public
type_:
Integer: I32
span:
lo: 56
hi: 57
id: 6
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 67
hi: 69
id: 7
output_type:
Integer: U8
block:
statements:
- Return:
expression:
Literal:
Integer:
- U8
- "0"
- span:
lo: 87
hi: 90
- 8
finalize_arguments: ~
span:
lo: 80
hi: 91
id: 9
span:
lo: 70
hi: 97
id: 10
finalize: ~
span:
lo: 30
hi: 97
id: 11
- - x
- annotations: []
variant: Standard
identifier: "{\"id\":\"12\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":116,\\\"hi\\\":117}\"}"
input:
- Internal:
identifier: "{\"id\":\"13\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":125,\\\"hi\\\":126}\"}"
mode: Public
type_:
Integer: U32
span:
lo: 125
hi: 126
id: 14
- Internal:
identifier: "{\"id\":\"15\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":133,\\\"hi\\\":134}\"}"
mode: None
type_:
Integer: I32
span:
lo: 133
hi: 134
id: 16
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 144
hi: 146
id: 17
output_type:
Integer: U8
block:
statements:
- Return:
expression:
Literal:
Integer:
- U8
- "0"
- span:
lo: 164
hi: 167
- 18
finalize_arguments: ~
span:
lo: 157
hi: 168
id: 19
span:
lo: 147
hi: 174
id: 20
finalize: ~
2022-09-21 08:05:49 +03:00
span:
2023-09-27 01:00:14 +03:00
lo: 107
2022-10-06 09:52:37 +03:00
hi: 174
2023-09-27 01:00:14 +03:00
id: 21
2022-06-23 10:19:26 +03:00
span:
lo: 2
2022-10-06 09:52:37 +03:00
hi: 176