leo/tests/expectations/parser/finalize/mapping.out
evan-schott 0a2ea03701 rebase
2023-10-04 13:00:52 -07:00

36 lines
1.2 KiB
Plaintext

---
namespace: Parse
expectation: Pass
outputs:
- imports: {}
program_scopes:
test:
program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"id\\\\\\\":\\\\\\\"1\\\\\\\",\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}"
consts: []
structs: []
mappings:
- - foo
- identifier: "{\"id\":\"2\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":41}\"}"
key_type:
Identifier: "{\"id\":\"3\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":46}\"}"
value_type:
Identifier: "{\"id\":\"4\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":50,\\\"hi\\\":53}\"}"
span:
lo: 30
hi: 54
id: 5
- - foo
- identifier: "{\"id\":\"6\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":72,\\\"hi\\\":75}\"}"
key_type:
Integer: U8
value_type:
Integer: U8
span:
lo: 64
hi: 86
id: 7
functions: []
span:
lo: 2
hi: 88