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

121 lines
4.1 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: []
functions:
- - main
- annotations: []
variant: Standard
identifier: "{\"id\":\"2\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":43}\"}"
input: []
output:
- Internal:
mode: None
type_: Boolean
span:
lo: 49
hi: 53
id: 3
output_type: Boolean
block:
statements: []
span:
lo: 54
hi: 66
id: 4
finalize:
identifier: "{\"id\":\"5\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":89}\"}"
input: []
output: []
output_type: Unit
block:
statements: []
span:
lo: 92
hi: 104
id: 6
span:
lo: 76
hi: 104
id: 7
span:
lo: 30
hi: 66
id: 8
- - main
- annotations: []
variant: Standard
identifier: "{\"id\":\"9\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":123,\\\"hi\\\":127}\"}"
input: []
output:
- Internal:
mode: None
type_: Boolean
span:
lo: 133
hi: 137
id: 10
output_type: Boolean
block:
statements: []
span:
lo: 138
hi: 150
id: 11
finalize:
identifier: "{\"id\":\"12\",\"name\":\"main\",\"span\":\"{\\\"lo\\\":160,\\\"hi\\\":164}\"}"
input:
- Internal:
identifier: "{\"id\":\"13\",\"name\":\"a\",\"span\":\"{\\\"lo\\\":165,\\\"hi\\\":166}\"}"
mode: None
type_:
Identifier: "{\"id\":\"14\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":168,\\\"hi\\\":171}\"}"
span:
lo: 165
hi: 166
id: 15
- Internal:
identifier: "{\"id\":\"16\",\"name\":\"b\",\"span\":\"{\\\"lo\\\":173,\\\"hi\\\":174}\"}"
mode: None
type_:
Identifier: "{\"id\":\"17\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":176,\\\"hi\\\":179}\"}"
span:
lo: 173
hi: 174
id: 18
output:
- Internal:
mode: None
type_:
Identifier: "{\"id\":\"19\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":184,\\\"hi\\\":187}\"}"
span:
lo: 184
hi: 187
id: 20
output_type:
Identifier: "{\"id\":\"19\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":184,\\\"hi\\\":187}\"}"
block:
statements: []
span:
lo: 188
hi: 200
id: 21
span:
lo: 151
hi: 200
id: 22
span:
lo: 114
hi: 150
id: 23
span:
lo: 2
hi: 212