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

217 lines
5.8 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
variable_name: "{\"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
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
variable_name: "{\"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
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 16
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
variable_name: "{\"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
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 15
2022-06-01 21:16:00 +03:00
- Definition:
declaration_type: Let
variable_name: "{\"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
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Const
variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: I8
2021-03-30 01:45:10 +03:00
value:
2022-05-03 21:48:48 +03:00
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":18}\"}"
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 18
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Const
variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: I16
2021-03-30 01:45:10 +03:00
value:
Binary:
left:
2022-05-03 21:48:48 +03:00
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
2021-03-30 01:45:10 +03:00
right:
2022-05-03 21:48:48 +03:00
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
2021-03-30 01:45:10 +03:00
op: Add
span:
2022-05-03 21:48:48 +03:00
lo: 15
hi: 18
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 18
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Const
variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
2022-08-10 02:14:05 +03:00
type_:
Integer: I8
2021-03-30 01:45:10 +03:00
value:
Call:
function:
2022-05-03 21:48:48 +03:00
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
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: 14
hi: 17
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 17
2022-06-01 21:16:00 +03:00
- Definition:
declaration_type: Const
variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
2022-06-01 21:16:00 +03:00
type_: String
value:
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":22}\"}"
span:
lo: 0
hi: 22
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
variable_name: "{\"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
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
variable_name: "{\"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
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 16
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
variable_name: "{\"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
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 16
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Const
variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
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\\\":15,\\\"hi\\\":19}\"}"
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 19
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Const
variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
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\\\":15,\\\"hi\\\":16}\"}"
2021-03-30 01:45:10 +03:00
right:
2022-05-03 21:48:48 +03:00
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
2021-03-30 01:45:10 +03:00
op: Add
span:
2022-05-03 21:48:48 +03:00
lo: 15
hi: 18
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 18
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Const
variable_name: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
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\\\":15,\\\"hi\\\":16}\"}"
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: 15
hi: 18
2021-03-30 01:45:10 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 18
2021-03-30 01:45:10 +03:00
- Definition:
declaration_type: Let
variable_name: "{\"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
2021-09-17 17:39:28 +03:00
span:
2022-05-03 21:48:48 +03:00
lo: 0
hi: 80