leo/tests/parser/expression/tuple.leo.out

95 lines
3.4 KiB
Plaintext
Raw Normal View History

2021-03-30 01:45:10 +03:00
---
2021-04-07 20:01:24 +03:00
namespace: ParseExpression
2021-03-30 01:45:10 +03:00
expectation: Pass
outputs:
- Value:
Implicit:
- ""
- line_start: 0
line_stop: 0
col_start: 0
col_stop: 0
path: ""
content: ""
2021-04-06 16:57:46 +03:00
- 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)\\\"}\"}"
2021-03-30 01:45:10 +03:00
- Value:
Implicit:
- ""
- line_start: 0
line_stop: 0
col_start: 0
col_stop: 0
path: ""
content: ""
2021-04-06 16:57:46 +03:00
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"tuple.leo\\\",\\\"content\\\":\\\"(x,)\\\"}\"}"
2021-03-30 01:45:10 +03:00
- TupleInit:
elements:
2021-04-06 16:57:46 +03:00
- 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)\\\"}\"}"
2021-03-30 01:45:10 +03:00
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 6
2021-04-06 16:57:46 +03:00
path: tuple.leo
2021-03-30 01:45:10 +03:00
content: "(x,y)"
- TupleInit:
elements:
2021-04-06 16:57:46 +03:00
- 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)\\\"}\"}"
2021-03-30 01:45:10 +03:00
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 8
2021-04-06 16:57:46 +03:00
path: tuple.leo
2021-03-30 01:45:10 +03:00
content: "(x,y,z)"
- TupleInit:
elements:
- Value:
Implicit:
- "123"
- line_start: 1
line_stop: 1
col_start: 2
col_stop: 5
2021-04-06 16:57:46 +03:00
path: tuple.leo
2021-03-30 01:45:10 +03:00
content: "(123,123)"
- Value:
Implicit:
- "123"
- line_start: 1
line_stop: 1
col_start: 6
col_stop: 9
2021-04-06 16:57:46 +03:00
path: tuple.leo
2021-03-30 01:45:10 +03:00
content: "(123,123)"
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 10
2021-04-06 16:57:46 +03:00
path: tuple.leo
2021-03-30 01:45:10 +03:00
content: "(123,123)"
- TupleInit:
elements: []
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 3
2021-04-06 16:57:46 +03:00
path: tuple.leo
2021-03-30 01:45:10 +03:00
content: ()
- TupleInit:
elements: []
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 4
2021-04-06 16:57:46 +03:00
path: tuple.leo
2021-03-30 01:45:10 +03:00
content: (())