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

88 lines
2.2 KiB
Plaintext
Raw Normal View History

2022-08-05 01:42:57 +03:00
---
namespace: Parse
expectation: Pass
outputs:
- name: ""
network: ""
expected_input: []
imports: {}
2022-09-06 21:07:12 +03:00
circuits: {}
mappings: {}
2022-08-05 01:42:57 +03:00
functions:
"{\"name\":\"f\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}":
annotations:
- identifier: "{\"name\":\"context\",\"span\":\"{\\\"lo\\\":3,\\\"hi\\\":10}\"}"
2022-08-05 01:42:57 +03:00
span:
lo: 2
hi: 10
identifier: "{\"name\":\"f\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
input: []
2022-08-10 02:14:05 +03:00
output:
2022-09-01 02:22:52 +03:00
- mode: None
type_:
Integer: U8
span:
lo: 27
hi: 29
output_type:
2022-08-10 02:14:05 +03:00
Integer: U8
2022-08-05 01:42:57 +03:00
block:
statements:
- Return:
expression:
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-08-05 01:42:57 +03:00
- "1"
- span:
lo: 43
hi: 46
span:
lo: 36
hi: 46
span:
lo: 30
hi: 49
2022-08-30 10:12:23 +03:00
finalize: ~
2022-08-05 01:42:57 +03:00
span:
lo: 11
hi: 49
"{\"name\":\"g\",\"span\":\"{\\\"lo\\\":89,\\\"hi\\\":90}\"}":
annotations:
- identifier: "{\"name\":\"context\",\"span\":\"{\\\"lo\\\":52,\\\"hi\\\":59}\"}"
2022-08-05 01:42:57 +03:00
span:
lo: 51
hi: 59
identifier: "{\"name\":\"g\",\"span\":\"{\\\"lo\\\":89,\\\"hi\\\":90}\"}"
input: []
2022-08-10 02:14:05 +03:00
output:
2022-09-01 02:22:52 +03:00
- mode: None
type_:
Integer: U8
span:
lo: 96
hi: 98
output_type:
2022-08-10 02:14:05 +03:00
Integer: U8
2022-08-05 01:42:57 +03:00
block:
statements:
- Return:
expression:
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-08-05 01:42:57 +03:00
- "2"
- span:
lo: 112
hi: 115
span:
lo: 105
hi: 115
span:
lo: 99
hi: 118
2022-08-30 10:12:23 +03:00
finalize: ~
2022-08-05 01:42:57 +03:00
span:
lo: 80
hi: 118