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

95 lines
3.1 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:
"{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}":
program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}"
structs: {}
mappings: {}
functions:
"{\"name\":\"f\",\"span\":\"{\\\"lo\\\":52,\\\"hi\\\":53}\"}":
annotations:
- identifier: "{\"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
call_type: Standard
identifier: "{\"name\":\"f\",\"span\":\"{\\\"lo\\\":52,\\\"hi\\\":53}\"}"
input: []
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 59
hi: 61
output_type:
Integer: U8
block:
statements:
- Return:
expression:
Literal:
Integer:
- U8
- "1"
- span:
lo: 79
hi: 82
span:
lo: 72
hi: 82
2022-09-21 08:05:49 +03:00
span:
2022-10-06 09:52:37 +03:00
lo: 62
hi: 89
finalize: ~
span:
lo: 43
hi: 89
"{\"name\":\"g\",\"span\":\"{\\\"lo\\\":141,\\\"hi\\\":142}\"}":
annotations:
- identifier: "{\"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
call_type: Standard
identifier: "{\"name\":\"g\",\"span\":\"{\\\"lo\\\":141,\\\"hi\\\":142}\"}"
input: []
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 148
hi: 150
output_type:
Integer: U8
block:
statements:
- Return:
expression:
Literal:
Integer:
- U8
- "2"
- span:
lo: 168
hi: 171
span:
lo: 161
hi: 171
span:
lo: 151
hi: 178
finalize: ~
span:
lo: 132
hi: 178
2022-08-05 01:42:57 +03:00
span:
2022-10-06 09:52:37 +03:00
lo: 2
hi: 180