leo/tests/parser/import/alias.leo.out
2021-04-12 13:15:40 -07:00

38 lines
1.4 KiB
Plaintext

---
namespace: Parse
expectation: Pass
outputs:
- name: ""
expected_input: []
imports:
- package_or_packages:
Package:
name: "{\"name\":\"a\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":8,\\\"col_stop\\\":9,\\\"path\\\":\\\"alias.leo\\\",\\\"content\\\":\\\"import a.b as bar;\\\"}\"}"
access:
Symbol:
symbol: "{\"name\":\"b\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"alias.leo\\\",\\\"content\\\":\\\"import a.b as bar;\\\"}\"}"
alias: "{\"name\":\"bar\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":15,\\\"col_stop\\\":18,\\\"path\\\":\\\"alias.leo\\\",\\\"content\\\":\\\"import a.b as bar;\\\"}\"}"
span:
line_start: 3
line_stop: 3
col_start: 10
col_stop: 18
path: alias.leo
content: import a.b as bar;
span:
line_start: 3
line_stop: 3
col_start: 8
col_stop: 18
path: alias.leo
content: import a.b as bar;
span:
line_start: 3
line_stop: 3
col_start: 8
col_stop: 18
path: alias.leo
content: import a.b as bar;
circuits: {}
functions: {}