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

318 lines
8.7 KiB
Plaintext

---
ns: ParseExpression
expectation: Pass
outputs:
- ArrayInline:
elements:
- Expression:
Value:
Integer:
- U8
- "0"
- line_start: 1
line_stop: 1
col_start: 2
col_stop: 5
path: array_inline.leo
content: "[0u8, 1, 2, 3]"
- Expression:
Value:
Implicit:
- "1"
- line_start: 1
line_stop: 1
col_start: 7
col_stop: 8
path: array_inline.leo
content: "[0u8, 1, 2, 3]"
- Expression:
Value:
Implicit:
- "2"
- line_start: 1
line_stop: 1
col_start: 10
col_stop: 11
path: array_inline.leo
content: "[0u8, 1, 2, 3]"
- Expression:
Value:
Implicit:
- "3"
- line_start: 1
line_stop: 1
col_start: 13
col_stop: 14
path: array_inline.leo
content: "[0u8, 1, 2, 3]"
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 15
path: array_inline.leo
content: "[0u8, 1, 2, 3]"
- ArrayInline:
elements:
- Expression:
Value:
Implicit:
- "1"
- line_start: 1
line_stop: 1
col_start: 2
col_stop: 3
path: array_inline.leo
content: "[1]"
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 4
path: array_inline.leo
content: "[1]"
- ArrayInline:
elements:
- Expression:
Value:
Integer:
- U8
- "1"
- line_start: 1
line_stop: 1
col_start: 2
col_stop: 5
path: array_inline.leo
content: "[1u8]"
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 6
path: array_inline.leo
content: "[1u8]"
- ArrayInline:
elements:
- Expression:
Value:
Integer:
- U8
- "1"
- line_start: 1
line_stop: 1
col_start: 2
col_stop: 5
path: array_inline.leo
content: "[1u8,]"
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 7
path: array_inline.leo
content: "[1u8,]"
- ArrayInline:
elements:
- Expression:
Value:
Implicit:
- "0"
- line_start: 1
line_stop: 1
col_start: 2
col_stop: 3
path: array_inline.leo
content: "[0, 1,]"
- Expression:
Value:
Implicit:
- "1"
- line_start: 1
line_stop: 1
col_start: 5
col_stop: 6
path: array_inline.leo
content: "[0, 1,]"
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 8
path: array_inline.leo
content: "[0, 1,]"
- ArrayInline:
elements:
- Expression:
Value:
Implicit:
- "0"
- line_start: 1
line_stop: 1
col_start: 2
col_stop: 3
path: array_inline.leo
content: "[0,1,]"
- Expression:
Value:
Implicit:
- "1"
- line_start: 1
line_stop: 1
col_start: 4
col_stop: 5
path: array_inline.leo
content: "[0,1,]"
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 7
path: array_inline.leo
content: "[0,1,]"
- ArrayInline:
elements: []
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 3
path: array_inline.leo
content: "[]"
- ArrayInline:
elements:
- Expression:
ArrayInline:
elements:
- Expression:
Value:
Implicit:
- "1"
- line_start: 1
line_stop: 1
col_start: 3
col_stop: 4
path: array_inline.leo
content: "[[1,2,3],[1,2,3]]"
- Expression:
Value:
Implicit:
- "2"
- line_start: 1
line_stop: 1
col_start: 5
col_stop: 6
path: array_inline.leo
content: "[[1,2,3],[1,2,3]]"
- Expression:
Value:
Implicit:
- "3"
- line_start: 1
line_stop: 1
col_start: 7
col_stop: 8
path: array_inline.leo
content: "[[1,2,3],[1,2,3]]"
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 9
path: array_inline.leo
content: "[[1,2,3],[1,2,3]]"
- Expression:
ArrayInline:
elements:
- Expression:
Value:
Implicit:
- "1"
- line_start: 1
line_stop: 1
col_start: 11
col_stop: 12
path: array_inline.leo
content: "[[1,2,3],[1,2,3]]"
- Expression:
Value:
Implicit:
- "2"
- line_start: 1
line_stop: 1
col_start: 13
col_stop: 14
path: array_inline.leo
content: "[[1,2,3],[1,2,3]]"
- Expression:
Value:
Implicit:
- "3"
- line_start: 1
line_stop: 1
col_start: 15
col_stop: 16
path: array_inline.leo
content: "[[1,2,3],[1,2,3]]"
span:
line_start: 1
line_stop: 1
col_start: 10
col_stop: 17
path: array_inline.leo
content: "[[1,2,3],[1,2,3]]"
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 18
path: array_inline.leo
content: "[[1,2,3],[1,2,3]]"
- ArrayInline:
elements:
- Expression:
ArrayInline:
elements: []
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 4
path: array_inline.leo
content: "[[]]"
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 5
path: array_inline.leo
content: "[[]]"
- ArrayInline:
elements:
- Expression:
ArrayInline:
elements: []
span:
line_start: 1
line_stop: 1
col_start: 2
col_stop: 4
path: array_inline.leo
content: "[[], []]"
- Expression:
ArrayInline:
elements: []
span:
line_start: 1
line_stop: 1
col_start: 6
col_stop: 8
path: array_inline.leo
content: "[[], []]"
span:
line_start: 1
line_stop: 1
col_start: 1
col_stop: 9
path: array_inline.leo
content: "[[], []]"