leo/tests/parser/functions/param_circuit.leo.out
2021-04-12 13:15:39 -07:00

62 lines
2.9 KiB
Plaintext

---
ns: Parse
expectation: Pass
outputs:
- name: ""
expected_input: []
imports: []
circuits: {}
functions:
"{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/functions/param_circuit.leo\\\",\\\"content\\\":\\\"function x(x: MyCircuit) {\\\"}\"}":
annotations: []
identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/functions/param_circuit.leo\\\",\\\"content\\\":\\\"function x(x: MyCircuit) {\\\"}\"}"
input:
- Variable:
identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":12,\\\"col_stop\\\":13,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/functions/param_circuit.leo\\\",\\\"content\\\":\\\"function x(x: MyCircuit) {\\\"}\"}"
const_: false
mutable: true
type_:
Circuit: "{\"name\":\"MyCircuit\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":15,\\\"col_stop\\\":24,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/functions/param_circuit.leo\\\",\\\"content\\\":\\\"function x(x: MyCircuit) {\\\"}\"}"
span:
line_start: 3
line_stop: 3
col_start: 12
col_stop: 13
path: /home/p/aleo/leo/parser/../tests/parser/functions/param_circuit.leo
content: "function x(x: MyCircuit) {"
output: ~
block:
statements:
- Return:
expression:
TupleInit:
elements: []
span:
line_start: 4
line_stop: 4
col_start: 12
col_stop: 14
path: /home/p/aleo/leo/parser/../tests/parser/functions/param_circuit.leo
content: " return ();"
span:
line_start: 4
line_stop: 4
col_start: 5
col_stop: 14
path: /home/p/aleo/leo/parser/../tests/parser/functions/param_circuit.leo
content: " return ();"
span:
line_start: 3
line_stop: 5
col_start: 26
col_stop: 2
path: /home/p/aleo/leo/parser/../tests/parser/functions/param_circuit.leo
content: "function x(x: MyCircuit) {\n...\n}"
span:
line_start: 3
line_stop: 5
col_start: 1
col_stop: 2
path: /home/p/aleo/leo/parser/../tests/parser/functions/param_circuit.leo
content: "function x(x: MyCircuit) {\n...\n}"