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

95 lines
3.4 KiB
Plaintext

---
namespace: ParseExpression
expectation: Pass
outputs:
- Value:
Implicit:
- ""
- line_start: 0
line_stop: 0
col_start: 0
col_stop: 0
path: ""
content: ""
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"tuple.leo\\\",\\\"content\\\":\\\"(x)\\\"}\"}"
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"tuple.leo\\\",\\\"content\\\":\\\"(y)\\\"}\"}"
- Identifier: "{\"name\":\"z\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"tuple.leo\\\",\\\"content\\\":\\\"(z)\\\"}\"}"
- Value:
Implicit:
- ""
- line_start: 0
line_stop: 0
col_start: 0
col_stop: 0
path: ""
content: ""
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"tuple.leo\\\",\\\"content\\\":\\\"(x,)\\\"}\"}"
- TupleInit:
elements:
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"tuple.leo\\\",\\\"content\\\":\\\"(x,y)\\\"}\"}"
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"tuple.leo\\\",\\\"content\\\":\\\"(x,y)\\\"}\"}"
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 6
path: tuple.leo
content: "(x,y)"
- TupleInit:
elements:
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"tuple.leo\\\",\\\"content\\\":\\\"(x,y,z)\\\"}\"}"
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"tuple.leo\\\",\\\"content\\\":\\\"(x,y,z)\\\"}\"}"
- Identifier: "{\"name\":\"z\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":6,\\\"col_stop\\\":7,\\\"path\\\":\\\"tuple.leo\\\",\\\"content\\\":\\\"(x,y,z)\\\"}\"}"
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 8
path: tuple.leo
content: "(x,y,z)"
- TupleInit:
elements:
- Value:
Implicit:
- "123"
- line_start: 1
line_stop: 1
col_start: 2
col_stop: 5
path: tuple.leo
content: "(123,123)"
- Value:
Implicit:
- "123"
- line_start: 1
line_stop: 1
col_start: 6
col_stop: 9
path: tuple.leo
content: "(123,123)"
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 10
path: tuple.leo
content: "(123,123)"
- TupleInit:
elements: []
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 3
path: tuple.leo
content: ()
- TupleInit:
elements: []
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 4
path: tuple.leo
content: (())