leo/tests/expectations/parser/expression/binary/bit_or.out

547 lines
12 KiB
Plaintext
Raw Normal View History

2022-06-17 01:40:48 +03:00
---
namespace: ParseExpression
expectation: Pass
outputs:
- Binary:
left:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "1"
- span:
lo: 0
hi: 3
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
right:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "1"
- span:
lo: 6
hi: 9
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
op: BitwiseOr
span:
lo: 0
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Binary:
left:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "2"
- span:
lo: 0
hi: 3
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
right:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "3"
- span:
lo: 4
hi: 7
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
op: BitwiseOr
span:
lo: 0
hi: 7
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Binary:
left:
Binary:
left:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "1"
- span:
lo: 0
hi: 3
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
right:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "2"
- span:
lo: 6
hi: 9
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
op: BitwiseOr
span:
lo: 0
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "3"
- span:
lo: 12
hi: 15
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
op: BitwiseOr
span:
lo: 0
hi: 15
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Binary:
left:
Binary:
left:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "1"
- span:
lo: 0
hi: 3
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
right:
Binary:
left:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "2"
- span:
lo: 6
hi: 9
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
right:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "3"
- span:
lo: 12
hi: 15
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
op: BitwiseOr
span:
lo: 6
hi: 15
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Xor
span:
lo: 0
hi: 15
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "4"
- span:
lo: 18
hi: 21
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
op: Xor
span:
lo: 0
hi: 21
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Binary:
left:
Binary:
left:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "1"
- span:
lo: 0
hi: 3
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
right:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "2"
- span:
lo: 6
hi: 9
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
op: BitwiseOr
span:
lo: 0
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "3"
- span:
lo: 12
hi: 15
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
op: BitwiseOr
span:
lo: 0
hi: 15
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Binary:
left:
Binary:
left:
Binary:
left:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "1"
- span:
lo: 0
hi: 3
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
right:
Binary:
left:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "2"
- span:
lo: 6
hi: 9
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
right:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "3"
- span:
lo: 12
hi: 15
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
op: BitwiseOr
span:
lo: 6
hi: 15
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Xor
span:
lo: 0
hi: 15
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Binary:
left:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "4"
- span:
lo: 18
hi: 21
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
right:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "5"
- span:
lo: 24
hi: 27
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
op: BitwiseOr
span:
lo: 18
hi: 27
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Xor
span:
lo: 0
hi: 27
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
2022-06-12 07:10:08 +03:00
Literal:
2022-08-10 02:14:05 +03:00
Integer:
- U8
2022-06-17 01:40:48 +03:00
- "6"
- span:
lo: 30
hi: 33
2023-08-10 00:38:33 +03:00
- 0
2022-06-17 01:40:48 +03:00
op: Xor
span:
lo: 0
hi: 33
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseOr
span:
lo: 2
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Negate
span:
lo: 1
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Not
span:
lo: 0
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":5,\\\"hi\\\":6}\"}"
op: BitwiseOr
span:
lo: 0
hi: 7
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}"
op: BitwiseOr
span:
lo: 0
hi: 13
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: BitwiseOr
span:
lo: 0
hi: 19
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: BitwiseOr
span:
lo: 1
hi: 8
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Negate
span:
lo: 0
hi: 8
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseOr
span:
lo: 1
hi: 10
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseOr
span:
lo: 2
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Negate
span:
lo: 0
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseOr
span:
lo: 2
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Negate
span:
lo: 1
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: BitwiseOr
span:
lo: 1
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: BitwiseOr
span:
lo: 1
hi: 8
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Not
span:
lo: 0
hi: 8
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Binary:
left:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":8,\\\"hi\\\":9}\"}"
op: BitwiseOr
span:
lo: 1
hi: 10
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseOr
span:
lo: 2
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Not
span:
lo: 0
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: BitwiseOr
span:
lo: 2
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Not
span:
lo: 1
hi: 9
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: BitwiseOr
span:
lo: 1
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":6,\\\"hi\\\":7}\"}"
op: BitwiseOr
span:
lo: 1
hi: 8
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":11,\\\"hi\\\":12}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: BitwiseOr
span:
lo: 11
hi: 18
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: BitwiseOr
span:
lo: 1
hi: 18
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Binary:
left:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":23,\\\"hi\\\":24}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":28,\\\"hi\\\":29}\"}"
op: BitwiseOr
span:
lo: 23
hi: 30
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":33,\\\"hi\\\":34}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":38,\\\"hi\\\":39}\"}"
op: BitwiseOr
span:
lo: 33
hi: 40
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: BitwiseOr
span:
lo: 23
hi: 40
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: BitwiseOr
span:
lo: 1
hi: 41
2023-08-10 00:38:33 +03:00
id: 0