mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-23 10:12:21 +03:00
256 lines
6.3 KiB
Plaintext
256 lines
6.3 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
|
|
id: 0
|
|
- 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
|
|
id: 0
|
|
span:
|
|
lo: 0
|
|
hi: 16
|
|
id: 0
|
|
- 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
|
|
id: 0
|
|
span:
|
|
lo: 0
|
|
hi: 15
|
|
id: 0
|
|
- 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
|
|
id: 0
|
|
- Definition:
|
|
declaration_type: Let
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
|
|
type_:
|
|
Integer: I8
|
|
value:
|
|
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":16}\"}"
|
|
span:
|
|
lo: 0
|
|
hi: 16
|
|
id: 0
|
|
- Definition:
|
|
declaration_type: Let
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
|
|
type_:
|
|
Integer: I16
|
|
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
|
|
id: 0
|
|
span:
|
|
lo: 0
|
|
hi: 16
|
|
id: 0
|
|
- Definition:
|
|
declaration_type: Let
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
|
|
type_:
|
|
Integer: I8
|
|
value:
|
|
Call:
|
|
function:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":12,\\\"hi\\\":13}\"}"
|
|
arguments: []
|
|
external: ~
|
|
span:
|
|
lo: 12
|
|
hi: 15
|
|
id: 0
|
|
span:
|
|
lo: 0
|
|
hi: 15
|
|
id: 0
|
|
- 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
|
|
id: 0
|
|
- 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
|
|
id: 0
|
|
- 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
|
|
id: 0
|
|
span:
|
|
lo: 0
|
|
hi: 16
|
|
id: 0
|
|
- 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
|
|
id: 0
|
|
span:
|
|
lo: 0
|
|
hi: 16
|
|
id: 0
|
|
- 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
|
|
id: 0
|
|
- 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
|
|
id: 0
|
|
span:
|
|
lo: 0
|
|
hi: 16
|
|
id: 0
|
|
- 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
|
|
id: 0
|
|
span:
|
|
lo: 0
|
|
hi: 16
|
|
id: 0
|
|
- Definition:
|
|
declaration_type: Let
|
|
place:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":4,\\\"hi\\\":5}\"}"
|
|
type_: Address
|
|
value:
|
|
Literal:
|
|
Address:
|
|
- aleo1fj982yqchhy973kz7e9jk6er7t6qd6jm9anplnlprem507w6lv9spwvfxx
|
|
- span:
|
|
lo: 17
|
|
hi: 80
|
|
- 0
|
|
span:
|
|
lo: 0
|
|
hi: 80
|
|
id: 0
|