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

76 lines
2.4 KiB
Plaintext
Raw Normal View History

2023-02-11 03:26:25 +03:00
---
namespace: Parse
expectation: Pass
outputs:
- imports: {}
program_scopes:
2023-09-29 00:35:52 +03:00
test:
2023-08-18 00:48:17 +03:00
program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}"
2023-09-27 01:00:14 +03:00
consts: []
structs: []
mappings: []
2023-02-11 03:26:25 +03:00
functions:
2023-09-27 01:00:14 +03:00
- - foo
- annotations: []
variant: Inline
identifier: "{\"id\":\"2\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":36}\"}"
input:
- Internal:
identifier: "{\"id\":\"3\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":37,\\\"hi\\\":38}\"}"
mode: None
type_:
Integer: U32
2023-02-11 03:26:25 +03:00
span:
2023-09-27 01:00:14 +03:00
lo: 37
hi: 38
id: 4
- Internal:
identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":45,\\\"hi\\\":46}\"}"
mode: None
type_:
Integer: I32
span:
lo: 45
hi: 46
id: 6
output:
- Internal:
mode: None
type_:
Integer: U32
span:
lo: 56
hi: 59
id: 7
output_type:
Integer: U32
block:
statements:
- Return:
expression:
Literal:
Integer:
- U32
- "0"
- span:
lo: 77
hi: 81
- 8
finalize_arguments: ~
span:
lo: 70
hi: 82
id: 9
span:
lo: 60
hi: 88
id: 10
finalize: ~
2023-02-11 03:26:25 +03:00
span:
2023-09-27 01:00:14 +03:00
lo: 26
2023-02-11 03:26:25 +03:00
hi: 88
2023-09-27 01:00:14 +03:00
id: 11
2023-02-11 03:26:25 +03:00
span:
lo: 2
hi: 90