leo/tests/expectations/parser/functions/annotated_context.out
evan-schott 0a2ea03701 rebase
2023-10-04 13:00:52 -07:00

110 lines
3.4 KiB
Plaintext

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