mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-27 04:01:47 +03:00
38 lines
865 B
Plaintext
38 lines
865 B
Plaintext
---
|
|
namespace: ParseStatement
|
|
expectation: Pass
|
|
outputs:
|
|
- Expression:
|
|
expression:
|
|
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":4}\"}"
|
|
span:
|
|
lo: 0
|
|
hi: 5
|
|
- Expression:
|
|
expression:
|
|
Binary:
|
|
left:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
|
|
right:
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
|
|
op: Add
|
|
span:
|
|
lo: 0
|
|
hi: 3
|
|
span:
|
|
lo: 0
|
|
hi: 4
|
|
- Expression:
|
|
expression:
|
|
Call:
|
|
function:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
|
|
arguments: []
|
|
external: ~
|
|
span:
|
|
lo: 0
|
|
hi: 3
|
|
span:
|
|
lo: 0
|
|
hi: 4
|