mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-12 11:27:41 +03:00
232 lines
6.0 KiB
Plaintext
232 lines
6.0 KiB
Plaintext
---
|
|
namespace: ParseStatement
|
|
expectation: Pass
|
|
outputs:
|
|
- Definition:
|
|
declaration_type: Let
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
|
|
type_:
|
|
Integer: U8
|
|
value:
|
|
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}"
|
|
span:
|
|
lo: 0
|
|
hi: 16
|
|
- Definition:
|
|
declaration_type: Let
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
|
|
type_:
|
|
Integer: U16
|
|
value:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
|
|
op: Add
|
|
span:
|
|
lo: 13
|
|
hi: 16
|
|
span:
|
|
lo: 0
|
|
hi: 16
|
|
- Definition:
|
|
declaration_type: Let
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
|
|
type_:
|
|
Integer: U8
|
|
value:
|
|
Call:
|
|
function:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
|
|
arguments: []
|
|
external: ~
|
|
span:
|
|
lo: 12
|
|
hi: 15
|
|
span:
|
|
lo: 0
|
|
hi: 15
|
|
- Definition:
|
|
declaration_type: Let
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
|
|
type_: String
|
|
value:
|
|
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":20}\"}"
|
|
span:
|
|
lo: 0
|
|
hi: 20
|
|
- Definition:
|
|
declaration_type: Const
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
|
|
type_:
|
|
Integer: I8
|
|
value:
|
|
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":18}\"}"
|
|
span:
|
|
lo: 0
|
|
hi: 18
|
|
- Definition:
|
|
declaration_type: Const
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
|
|
type_:
|
|
Integer: I16
|
|
value:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
|
|
op: Add
|
|
span:
|
|
lo: 15
|
|
hi: 18
|
|
span:
|
|
lo: 0
|
|
hi: 18
|
|
- Definition:
|
|
declaration_type: Const
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
|
|
type_:
|
|
Integer: I8
|
|
value:
|
|
Call:
|
|
function:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
|
|
arguments: []
|
|
external: ~
|
|
span:
|
|
lo: 14
|
|
hi: 17
|
|
span:
|
|
lo: 0
|
|
hi: 17
|
|
- Definition:
|
|
declaration_type: Const
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
|
|
type_: String
|
|
value:
|
|
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":22}\"}"
|
|
span:
|
|
lo: 0
|
|
hi: 22
|
|
- Definition:
|
|
declaration_type: Let
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
|
|
type_:
|
|
Integer: U32
|
|
value:
|
|
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":17}\"}"
|
|
span:
|
|
lo: 0
|
|
hi: 17
|
|
- Definition:
|
|
declaration_type: Let
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
|
|
type_:
|
|
Integer: U32
|
|
value:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
|
|
op: Add
|
|
span:
|
|
lo: 13
|
|
hi: 16
|
|
span:
|
|
lo: 0
|
|
hi: 16
|
|
- Definition:
|
|
declaration_type: Let
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
|
|
type_:
|
|
Integer: U32
|
|
value:
|
|
Call:
|
|
function:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
|
|
arguments: []
|
|
external: ~
|
|
span:
|
|
lo: 13
|
|
hi: 16
|
|
span:
|
|
lo: 0
|
|
hi: 16
|
|
- Definition:
|
|
declaration_type: Const
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
|
|
type_:
|
|
Integer: U32
|
|
value:
|
|
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":19}\"}"
|
|
span:
|
|
lo: 0
|
|
hi: 19
|
|
- Definition:
|
|
declaration_type: Const
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
|
|
type_:
|
|
Integer: U32
|
|
value:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
|
|
op: Add
|
|
span:
|
|
lo: 15
|
|
hi: 18
|
|
span:
|
|
lo: 0
|
|
hi: 18
|
|
- Definition:
|
|
declaration_type: Const
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
|
|
type_:
|
|
Integer: U32
|
|
value:
|
|
Call:
|
|
function:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
|
|
arguments: []
|
|
external: ~
|
|
span:
|
|
lo: 15
|
|
hi: 18
|
|
span:
|
|
lo: 0
|
|
hi: 18
|
|
- Definition:
|
|
declaration_type: Let
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
|
|
type_: Address
|
|
value:
|
|
Literal:
|
|
Address:
|
|
- aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx
|
|
- span:
|
|
lo: 17
|
|
hi: 80
|
|
span:
|
|
lo: 0
|
|
hi: 80
|