mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-22 01:31:39 +03:00
91 lines
3.6 KiB
Plaintext
91 lines
3.6 KiB
Plaintext
---
|
|
namespace: Parse
|
|
expectation: Pass
|
|
outputs:
|
|
- name: ""
|
|
expected_input: []
|
|
imports: []
|
|
circuits:
|
|
"{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"functions.leo\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}":
|
|
circuit_name: "{\"name\":\"X\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":9,\\\"col_stop\\\":10,\\\"path\\\":\\\"functions.leo\\\",\\\"content\\\":\\\"circuit X {\\\"}\"}"
|
|
members:
|
|
- CircuitFunction:
|
|
annotations: []
|
|
identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"functions.leo\\\",\\\"content\\\":\\\" function x() {\\\"}\"}"
|
|
input: []
|
|
output: ~
|
|
block:
|
|
statements:
|
|
- Return:
|
|
expression:
|
|
TupleInit:
|
|
elements: []
|
|
span:
|
|
line_start: 5
|
|
line_stop: 5
|
|
col_start: 16
|
|
col_stop: 18
|
|
path: functions.leo
|
|
content: " return ();"
|
|
span:
|
|
line_start: 5
|
|
line_stop: 5
|
|
col_start: 9
|
|
col_stop: 18
|
|
path: functions.leo
|
|
content: " return ();"
|
|
span:
|
|
line_start: 4
|
|
line_stop: 6
|
|
col_start: 18
|
|
col_stop: 6
|
|
path: functions.leo
|
|
content: " function x() {\n...\n }"
|
|
span:
|
|
line_start: 4
|
|
line_stop: 6
|
|
col_start: 5
|
|
col_stop: 6
|
|
path: functions.leo
|
|
content: " function x() {\n...\n }"
|
|
- CircuitFunction:
|
|
annotations: []
|
|
identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":7,\\\"line_stop\\\":7,\\\"col_start\\\":14,\\\"col_stop\\\":15,\\\"path\\\":\\\"functions.leo\\\",\\\"content\\\":\\\" function y() {\\\"}\"}"
|
|
input: []
|
|
output: ~
|
|
block:
|
|
statements:
|
|
- Return:
|
|
expression:
|
|
TupleInit:
|
|
elements: []
|
|
span:
|
|
line_start: 8
|
|
line_stop: 8
|
|
col_start: 16
|
|
col_stop: 18
|
|
path: functions.leo
|
|
content: " return ();"
|
|
span:
|
|
line_start: 8
|
|
line_stop: 8
|
|
col_start: 9
|
|
col_stop: 18
|
|
path: functions.leo
|
|
content: " return ();"
|
|
span:
|
|
line_start: 7
|
|
line_stop: 9
|
|
col_start: 18
|
|
col_stop: 6
|
|
path: functions.leo
|
|
content: " function y() {\n...\n }"
|
|
span:
|
|
line_start: 7
|
|
line_stop: 9
|
|
col_start: 5
|
|
col_stop: 6
|
|
path: functions.leo
|
|
content: " function y() {\n...\n }"
|
|
functions: {}
|