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

109 lines
3.4 KiB
Plaintext
Raw Normal View History

2022-08-05 01:42:57 +03:00
---
namespace: Parse
expectation: Pass
outputs:
2022-10-06 09:52:37 +03:00
- imports: {}
program_scopes:
2023-08-18 00:48:17 +03:00
"{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}":
program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}"
2022-10-06 09:52:37 +03:00
structs: {}
mappings: {}
functions:
2022-11-16 06:54:59 +03:00
f:
2022-10-06 09:52:37 +03:00
annotations:
2023-08-18 00:48:17 +03:00
- identifier: "{\"id\":\"2\",\"name\":\"context\",\"span\":\"{\\\"lo\\\":31,\\\"hi\\\":38}\"}"
2022-08-05 01:42:57 +03:00
span:
2022-10-06 09:52:37 +03:00
lo: 30
hi: 38
2023-08-18 00:48:17 +03:00
id: 3
2023-02-09 03:41:32 +03:00
variant: Standard
2023-08-18 00:48:17 +03:00
identifier: "{\"id\":\"4\",\"name\":\"f\",\"span\":\"{\\\"lo\\\":52,\\\"hi\\\":53}\"}"
2022-10-06 09:52:37 +03:00
input: []
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 59
hi: 61
2023-08-18 00:48:17 +03:00
id: 5
2022-10-06 09:52:37 +03:00
output_type:
Integer: U8
block:
statements:
- Return:
expression:
Literal:
Integer:
- U8
- "1"
- span:
lo: 79
hi: 82
2023-08-18 00:48:17 +03:00
- 6
2022-11-13 03:35:54 +03:00
finalize_arguments: ~
2022-10-06 09:52:37 +03:00
span:
lo: 72
2022-11-13 03:35:54 +03:00
hi: 83
2023-08-18 00:48:17 +03:00
id: 7
2022-09-21 08:05:49 +03:00
span:
2022-10-06 09:52:37 +03:00
lo: 62
hi: 89
2023-08-18 00:48:17 +03:00
id: 8
2022-10-06 09:52:37 +03:00
finalize: ~
span:
lo: 43
hi: 89
2023-08-18 00:48:17 +03:00
id: 9
2022-11-16 06:54:59 +03:00
g:
2022-10-06 09:52:37 +03:00
annotations:
2023-08-18 00:48:17 +03:00
- identifier: "{\"id\":\"10\",\"name\":\"context\",\"span\":\"{\\\"lo\\\":100,\\\"hi\\\":107}\"}"
2022-08-05 01:42:57 +03:00
span:
2022-10-06 09:52:37 +03:00
lo: 99
hi: 107
2023-08-18 00:48:17 +03:00
id: 11
2023-02-09 03:41:32 +03:00
variant: Standard
2023-08-18 00:48:17 +03:00
identifier: "{\"id\":\"12\",\"name\":\"g\",\"span\":\"{\\\"lo\\\":141,\\\"hi\\\":142}\"}"
2022-10-06 09:52:37 +03:00
input: []
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 148
hi: 150
2023-08-18 00:48:17 +03:00
id: 13
2022-10-06 09:52:37 +03:00
output_type:
Integer: U8
block:
statements:
- Return:
expression:
Literal:
Integer:
- U8
- "2"
- span:
lo: 168
hi: 171
2023-08-18 00:48:17 +03:00
- 14
2022-11-13 03:35:54 +03:00
finalize_arguments: ~
2022-10-06 09:52:37 +03:00
span:
lo: 161
2022-11-13 03:35:54 +03:00
hi: 172
2023-08-18 00:48:17 +03:00
id: 15
2022-10-06 09:52:37 +03:00
span:
lo: 151
hi: 178
2023-08-18 00:48:17 +03:00
id: 16
2022-10-06 09:52:37 +03:00
finalize: ~
span:
lo: 132
hi: 178
2023-08-18 00:48:17 +03:00
id: 17
2022-08-05 01:42:57 +03:00
span:
2022-10-06 09:52:37 +03:00
lo: 2
hi: 180