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

275 lines
6.7 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\\\":8,\\\"hi\\\":9}\"}"
op: Div
span:
lo: 2
hi: 10
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Negate
span:
lo: 1
hi: 10
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Not
span:
lo: 0
hi: 10
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\\\":6,\\\"hi\\\":7}\"}"
op: Div
span:
lo: 0
hi: 8
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":13,\\\"hi\\\":14}\"}"
op: Div
span:
lo: 0
hi: 15
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":21}\"}"
op: Div
span:
lo: 0
hi: 22
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\\\":7,\\\"hi\\\":8}\"}"
op: Div
span:
lo: 1
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:
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\\\":9,\\\"hi\\\":10}\"}"
op: Div
span:
lo: 1
hi: 11
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\\\":8,\\\"hi\\\":9}\"}"
op: Div
span:
lo: 2
hi: 10
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Negate
span:
lo: 0
hi: 10
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\\\":8,\\\"hi\\\":9}\"}"
op: Div
span:
lo: 2
hi: 10
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Negate
span:
lo: 1
hi: 10
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Div
span:
lo: 1
hi: 18
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\\\":7,\\\"hi\\\":8}\"}"
op: Div
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:
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\\\":9,\\\"hi\\\":10}\"}"
op: Div
span:
lo: 1
hi: 11
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\\\":8,\\\"hi\\\":9}\"}"
op: Div
span:
lo: 2
hi: 10
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Not
span:
lo: 0
hi: 10
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\\\":8,\\\"hi\\\":9}\"}"
op: Div
span:
lo: 2
hi: 10
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Not
span:
lo: 1
hi: 10
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: Div
span:
lo: 1
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\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":7,\\\"hi\\\":8}\"}"
op: Div
span:
lo: 1
hi: 9
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\\\":12,\\\"hi\\\":13}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":18,\\\"hi\\\":19}\"}"
op: Div
span:
lo: 12
hi: 20
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Div
span:
lo: 1
hi: 20
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\\\":26,\\\"hi\\\":27}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: Div
span:
lo: 26
hi: 34
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\\\":37,\\\"hi\\\":38}\"}"
right:
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":43,\\\"hi\\\":44}\"}"
op: Div
span:
lo: 37
hi: 45
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Div
span:
lo: 26
hi: 45
2023-08-10 00:38:33 +03:00
id: 0
2022-06-17 01:40:48 +03:00
op: Div
span:
lo: 1
hi: 46
2023-08-10 00:38:33 +03:00
id: 0