mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-22 00:51:33 +03:00
136 lines
6.5 KiB
Plaintext
136 lines
6.5 KiB
Plaintext
---
|
|
ns: Parse
|
|
expectation: Pass
|
|
outputs:
|
|
- name: ""
|
|
expected_input: []
|
|
imports:
|
|
- package_or_packages:
|
|
Packages:
|
|
name: "{\"name\":\"test-import\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":8,\\\"col_stop\\\":19,\\\"path\\\":\\\"many_import.leo\\\",\\\"content\\\":\\\"import test-import.( // local import\\\"}\"}"
|
|
accesses:
|
|
- Symbol:
|
|
symbol: "{\"name\":\"Point\",\"span\":\"{\\\"line_start\\\":4,\\\"line_stop\\\":4,\\\"col_start\\\":5,\\\"col_stop\\\":10,\\\"path\\\":\\\"many_import.leo\\\",\\\"content\\\":\\\" Point,\\\"}\"}"
|
|
alias: ~
|
|
span:
|
|
line_start: 4
|
|
line_stop: 4
|
|
col_start: 5
|
|
col_stop: 10
|
|
path: many_import.leo
|
|
content: " Point,"
|
|
- Symbol:
|
|
symbol: "{\"name\":\"foo\",\"span\":\"{\\\"line_start\\\":5,\\\"line_stop\\\":5,\\\"col_start\\\":5,\\\"col_stop\\\":8,\\\"path\\\":\\\"many_import.leo\\\",\\\"content\\\":\\\" foo,\\\"}\"}"
|
|
alias: ~
|
|
span:
|
|
line_start: 5
|
|
line_stop: 5
|
|
col_start: 5
|
|
col_stop: 8
|
|
path: many_import.leo
|
|
content: " foo,"
|
|
span:
|
|
line_start: 3
|
|
line_stop: 5
|
|
col_start: 8
|
|
col_stop: 8
|
|
path: many_import.leo
|
|
content: "import test-import.( // local import\n...\n foo,"
|
|
span:
|
|
line_start: 3
|
|
line_stop: 5
|
|
col_start: 8
|
|
col_stop: 8
|
|
path: many_import.leo
|
|
content: "import test-import.( // local import\n...\n foo,"
|
|
- package_or_packages:
|
|
Packages:
|
|
name: "{\"name\":\"bar\",\"span\":\"{\\\"line_start\\\":8,\\\"line_stop\\\":8,\\\"col_start\\\":8,\\\"col_stop\\\":11,\\\"path\\\":\\\"many_import.leo\\\",\\\"content\\\":\\\"import bar.( // imports directory import\\\"}\"}"
|
|
accesses:
|
|
- Symbol:
|
|
symbol: "{\"name\":\"Bar\",\"span\":\"{\\\"line_start\\\":9,\\\"line_stop\\\":9,\\\"col_start\\\":5,\\\"col_stop\\\":8,\\\"path\\\":\\\"many_import.leo\\\",\\\"content\\\":\\\" Bar,\\\"}\"}"
|
|
alias: ~
|
|
span:
|
|
line_start: 9
|
|
line_stop: 9
|
|
col_start: 5
|
|
col_stop: 8
|
|
path: many_import.leo
|
|
content: " Bar,"
|
|
- Multiple:
|
|
name: "{\"name\":\"baz\",\"span\":\"{\\\"line_start\\\":10,\\\"line_stop\\\":10,\\\"col_start\\\":5,\\\"col_stop\\\":8,\\\"path\\\":\\\"many_import.leo\\\",\\\"content\\\":\\\" baz.(Baz, Bazzar),\\\"}\"}"
|
|
accesses:
|
|
- Symbol:
|
|
symbol: "{\"name\":\"Baz\",\"span\":\"{\\\"line_start\\\":10,\\\"line_stop\\\":10,\\\"col_start\\\":10,\\\"col_stop\\\":13,\\\"path\\\":\\\"many_import.leo\\\",\\\"content\\\":\\\" baz.(Baz, Bazzar),\\\"}\"}"
|
|
alias: ~
|
|
span:
|
|
line_start: 10
|
|
line_stop: 10
|
|
col_start: 10
|
|
col_stop: 13
|
|
path: many_import.leo
|
|
content: " baz.(Baz, Bazzar),"
|
|
- Symbol:
|
|
symbol: "{\"name\":\"Bazzar\",\"span\":\"{\\\"line_start\\\":10,\\\"line_stop\\\":10,\\\"col_start\\\":15,\\\"col_stop\\\":21,\\\"path\\\":\\\"many_import.leo\\\",\\\"content\\\":\\\" baz.(Baz, Bazzar),\\\"}\"}"
|
|
alias: ~
|
|
span:
|
|
line_start: 10
|
|
line_stop: 10
|
|
col_start: 15
|
|
col_stop: 21
|
|
path: many_import.leo
|
|
content: " baz.(Baz, Bazzar),"
|
|
span:
|
|
line_start: 10
|
|
line_stop: 10
|
|
col_start: 5
|
|
col_stop: 21
|
|
path: many_import.leo
|
|
content: " baz.(Baz, Bazzar),"
|
|
- SubPackage:
|
|
name: "{\"name\":\"bat\",\"span\":\"{\\\"line_start\\\":11,\\\"line_stop\\\":11,\\\"col_start\\\":5,\\\"col_stop\\\":8,\\\"path\\\":\\\"many_import.leo\\\",\\\"content\\\":\\\" bat.bat.Bat,\\\"}\"}"
|
|
access:
|
|
SubPackage:
|
|
name: "{\"name\":\"bat\",\"span\":\"{\\\"line_start\\\":11,\\\"line_stop\\\":11,\\\"col_start\\\":9,\\\"col_stop\\\":12,\\\"path\\\":\\\"many_import.leo\\\",\\\"content\\\":\\\" bat.bat.Bat,\\\"}\"}"
|
|
access:
|
|
Symbol:
|
|
symbol: "{\"name\":\"Bat\",\"span\":\"{\\\"line_start\\\":11,\\\"line_stop\\\":11,\\\"col_start\\\":13,\\\"col_stop\\\":16,\\\"path\\\":\\\"many_import.leo\\\",\\\"content\\\":\\\" bat.bat.Bat,\\\"}\"}"
|
|
alias: ~
|
|
span:
|
|
line_start: 11
|
|
line_stop: 11
|
|
col_start: 13
|
|
col_stop: 16
|
|
path: many_import.leo
|
|
content: " bat.bat.Bat,"
|
|
span:
|
|
line_start: 11
|
|
line_stop: 11
|
|
col_start: 9
|
|
col_stop: 16
|
|
path: many_import.leo
|
|
content: " bat.bat.Bat,"
|
|
span:
|
|
line_start: 11
|
|
line_stop: 11
|
|
col_start: 5
|
|
col_stop: 16
|
|
path: many_import.leo
|
|
content: " bat.bat.Bat,"
|
|
span:
|
|
line_start: 8
|
|
line_stop: 11
|
|
col_start: 8
|
|
col_stop: 16
|
|
path: many_import.leo
|
|
content: "import bar.( // imports directory import\n...\n bat.bat.Bat,"
|
|
span:
|
|
line_start: 8
|
|
line_stop: 11
|
|
col_start: 8
|
|
col_stop: 16
|
|
path: many_import.leo
|
|
content: "import bar.( // imports directory import\n...\n bat.bat.Bat,"
|
|
circuits: {}
|
|
functions: {}
|