mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-30 13:42:24 +03:00
58 lines
2.4 KiB
Plaintext
58 lines
2.4 KiB
Plaintext
---
|
|
ns: Parse
|
|
expectation: Pass
|
|
outputs:
|
|
- name: ""
|
|
expected_input: []
|
|
imports: []
|
|
circuits: {}
|
|
functions:
|
|
"{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/functions/annotated.leo\\\",\\\"content\\\":\\\"function x() {\\\"}\"}":
|
|
annotations:
|
|
- span:
|
|
line_start: 3
|
|
line_stop: 3
|
|
col_start: 1
|
|
col_stop: 6
|
|
path: /home/p/aleo/leo/parser/../tests/parser/functions/annotated.leo
|
|
content: "@test"
|
|
name: "{\"name\":\"test\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":2,\\\"col_stop\\\":6,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/functions/annotated.leo\\\",\\\"content\\\":\\\"@test\\\"}\"}"
|
|
arguments: []
|
|
identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"/home/p/aleo/leo/parser/../tests/parser/functions/annotated.leo\\\",\\\"content\\\":\\\"function x() {\\\"}\"}"
|
|
input: []
|
|
output: ~
|
|
block:
|
|
statements:
|
|
- Return:
|
|
expression:
|
|
TupleInit:
|
|
elements: []
|
|
span:
|
|
line_start: 5
|
|
line_stop: 5
|
|
col_start: 12
|
|
col_stop: 14
|
|
path: /home/p/aleo/leo/parser/../tests/parser/functions/annotated.leo
|
|
content: " return ();"
|
|
span:
|
|
line_start: 5
|
|
line_stop: 5
|
|
col_start: 5
|
|
col_stop: 14
|
|
path: /home/p/aleo/leo/parser/../tests/parser/functions/annotated.leo
|
|
content: " return ();"
|
|
span:
|
|
line_start: 4
|
|
line_stop: 6
|
|
col_start: 14
|
|
col_stop: 2
|
|
path: /home/p/aleo/leo/parser/../tests/parser/functions/annotated.leo
|
|
content: "function x() {\n...\n}"
|
|
span:
|
|
line_start: 4
|
|
line_stop: 6
|
|
col_start: 1
|
|
col_stop: 2
|
|
path: /home/p/aleo/leo/parser/../tests/parser/functions/annotated.leo
|
|
content: "function x() {\n...\n}"
|