leo/tests/expectations/parser/functions/annotated_context.out
Pranav Gaddamadugu e1a148a93e Regen expectations
2022-10-05 23:52:37 -07:00

95 lines
3.1 KiB
Plaintext

---
namespace: Parse
expectation: Pass
outputs:
- 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}\"}"
span:
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
span:
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}\"}"
span:
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
span:
lo: 2
hi: 180