mirror of
https://github.com/ProvableHQ/leo.git
synced 2025-01-05 01:01:43 +03:00
50 lines
1.9 KiB
Plaintext
50 lines
1.9 KiB
Plaintext
---
|
|
namespace: 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\\\":\\\"const_self_bad.leo\\\",\\\"content\\\":\\\"function x(const self) {\\\"}\"}":
|
|
annotations: []
|
|
identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"const_self_bad.leo\\\",\\\"content\\\":\\\"function x(const self) {\\\"}\"}"
|
|
input:
|
|
- ConstSelfKeyword: "{\"name\":\"const self\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":12,\\\"col_stop\\\":22,\\\"path\\\":\\\"const_self_bad.leo\\\",\\\"content\\\":\\\"function x(const self) {\\\"}\"}"
|
|
output: ~
|
|
block:
|
|
statements:
|
|
- Return:
|
|
expression:
|
|
TupleInit:
|
|
elements: []
|
|
span:
|
|
line_start: 4
|
|
line_stop: 4
|
|
col_start: 12
|
|
col_stop: 14
|
|
path: const_self_bad.leo
|
|
content: " return ();"
|
|
span:
|
|
line_start: 4
|
|
line_stop: 4
|
|
col_start: 5
|
|
col_stop: 14
|
|
path: const_self_bad.leo
|
|
content: " return ();"
|
|
span:
|
|
line_start: 3
|
|
line_stop: 5
|
|
col_start: 24
|
|
col_stop: 2
|
|
path: const_self_bad.leo
|
|
content: "function x(const self) {\n...\n}"
|
|
span:
|
|
line_start: 3
|
|
line_stop: 5
|
|
col_start: 1
|
|
col_stop: 2
|
|
path: const_self_bad.leo
|
|
content: "function x(const self) {\n...\n}"
|