leo/tests/expectations/parser/statement/definition.out

256 lines
6.3 KiB
Plaintext
Raw Normal View History

2021-03-30 01:45:10 +03:00
---
2021-04-07 20:01:24 +03:00
namespace: ParseStatement
2021-03-30 01:45:10 +03:00
expectation: Pass
outputs:
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: U8
2021-03-30 01:45:10 +03:00
value:
2022-05-03 21:48:48 +03:00
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}"
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: U16
2021-03-30 01:45:10 +03:00
value:
Binary:
left:
2022-05-03 21:48:48 +03:00
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
2021-03-30 01:45:10 +03:00
right:
2022-05-03 21:48:48 +03:00
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
2021-03-30 01:45:10 +03:00
op: Add
span:
2022-05-03 21:48:48 +03:00
lo: 13
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: U8
2021-03-30 01:45:10 +03:00
value:
Call:
function:
2022-05-03 21:48:48 +03:00
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
2021-03-30 01:45:10 +03:00
arguments: []
2022-09-21 08:05:49 +03:00
external: ~
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 12
hi: 15
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 15
2023-08-10 00:38:33 +03:00
id: 0
2022-06-01 21:16:00 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-06-01 21:16:00 +03:00
type_: String
value:
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":20}\"}"
span:
lo: 0
hi: 20
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: I8
2021-03-30 01:45:10 +03:00
value:
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}"
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: I16
2021-03-30 01:45:10 +03:00
value:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
2021-03-30 01:45:10 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
2021-03-30 01:45:10 +03:00
op: Add
span:
lo: 13
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: I8
2021-03-30 01:45:10 +03:00
value:
Call:
function:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
2021-03-30 01:45:10 +03:00
arguments: []
2022-09-21 08:05:49 +03:00
external: ~
2021-03-30 01:45:10 +03:00
span:
lo: 12
hi: 15
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 15
2023-08-10 00:38:33 +03:00
id: 0
2022-06-01 21:16:00 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-06-01 21:16:00 +03:00
type_: String
value:
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":20}\"}"
2022-06-01 21:16:00 +03:00
span:
lo: 0
hi: 20
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: U32
2021-03-30 01:45:10 +03:00
value:
2022-05-03 21:48:48 +03:00
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":17}\"}"
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 17
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: U32
2021-03-30 01:45:10 +03:00
value:
Binary:
left:
2022-05-03 21:48:48 +03:00
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
2021-03-30 01:45:10 +03:00
right:
2022-05-03 21:48:48 +03:00
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
2021-03-30 01:45:10 +03:00
op: Add
span:
2022-05-03 21:48:48 +03:00
lo: 13
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: U32
2021-03-30 01:45:10 +03:00
value:
Call:
function:
2022-05-03 21:48:48 +03:00
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
2021-03-30 01:45:10 +03:00
arguments: []
2022-09-21 08:05:49 +03:00
external: ~
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 13
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: U32
2021-03-30 01:45:10 +03:00
value:
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":17}\"}"
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 17
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: U32
2021-03-30 01:45:10 +03:00
value:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
2021-03-30 01:45:10 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
2021-03-30 01:45:10 +03:00
op: Add
span:
lo: 13
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: U32
2021-03-30 01:45:10 +03:00
value:
Call:
function:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
2021-03-30 01:45:10 +03:00
arguments: []
2022-09-21 08:05:49 +03:00
external: ~
2021-03-30 01:45:10 +03:00
span:
lo: 13
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
2022-10-26 06:53:17 +03:00
place:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
2022-02-15 04:25:57 +03:00
type_: Address
2021-03-30 01:45:10 +03:00
value:
2022-06-12 07:10:08 +03:00
Literal:
2022-02-15 04:25:57 +03:00
Address:
2022-08-04 02:26:16 +03:00
- aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx
2022-02-15 04:25:57 +03:00
- span:
2022-05-03 21:48:48 +03:00
lo: 17
hi: 80
2023-08-10 00:38:33 +03:00
- 0
2021-09-17 17:39:28 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 80
2023-08-10 00:38:33 +03:00
id: 0