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

275 lines
6.8 KiB
Plaintext
Raw Normal View History

2022-06-17 01:40:48 +03:00
---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: MulWrapped
span:
lo: 2
hi: 18
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Negate
span:
lo: 1
hi: 18
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Not
span:
lo: 0
hi: 18
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\\\":14,\\\"hi\\\":15}\"}"
op: MulWrapped
span:
lo: 0
hi: 16
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}"
op: MulWrapped
span:
lo: 0
hi: 31
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}"
op: MulWrapped
span:
lo: 0
hi: 46
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\\\":15,\\\"hi\\\":16}\"}"
op: MulWrapped
span:
lo: 1
hi: 17
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Negate
span:
lo: 0
hi: 17
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\\\":17,\\\"hi\\\":18}\"}"
op: MulWrapped
span:
lo: 1
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\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: MulWrapped
span:
lo: 2
hi: 18
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Negate
span:
lo: 0
hi: 18
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\\\":16,\\\"hi\\\":17}\"}"
op: MulWrapped
span:
lo: 2
hi: 18
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Negate
span:
lo: 1
hi: 18
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: MulWrapped
span:
lo: 1
hi: 34
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\\\":15,\\\"hi\\\":16}\"}"
op: MulWrapped
span:
lo: 1
hi: 17
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Not
span:
lo: 0
hi: 17
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\\\":17,\\\"hi\\\":18}\"}"
op: MulWrapped
span:
lo: 1
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\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: MulWrapped
span:
lo: 2
hi: 18
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Not
span:
lo: 0
hi: 18
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\\\":16,\\\"hi\\\":17}\"}"
op: MulWrapped
span:
lo: 2
hi: 18
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Not
span:
lo: 1
hi: 18
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: MulWrapped
span:
lo: 1
hi: 34
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\\\":15,\\\"hi\\\":16}\"}"
op: MulWrapped
span:
lo: 1
hi: 17
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\\\":20,\\\"hi\\\":21}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":34,\\\"hi\\\":35}\"}"
op: MulWrapped
span:
lo: 20
hi: 36
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Mul
span:
lo: 1
hi: 36
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\\\":50,\\\"hi\\\":51}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":64,\\\"hi\\\":65}\"}"
op: MulWrapped
span:
lo: 50
hi: 66
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\\\":69,\\\"hi\\\":70}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":83,\\\"hi\\\":84}\"}"
op: MulWrapped
span:
lo: 69
hi: 85
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Mul
span:
lo: 50
hi: 85
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: MulWrapped
span:
lo: 1
hi: 86
2023-08-10 00:38:33 +03:00
id: 0