leo/tests/expectations/parser/expression/binary/sub_wrapped.out
Pranav Gaddamadugu 440cced9d8 Cleanup
2023-08-17 17:49:29 -04:00

275 lines
7.2 KiB
Plaintext

---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Unary:
receiver:
Binary:
left:
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: SubWrapped
span:
lo: 2
hi: 18
id: 3
op: Negate
span:
lo: 1
hi: 18
id: 4
op: Not
span:
lo: 0
hi: 18
id: 5
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
right:
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":14,\\\"hi\\\":15}\"}"
op: SubWrapped
span:
lo: 0
hi: 16
id: 3
right:
Identifier: "{\"id\":\"5\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":29,\\\"hi\\\":30}\"}"
op: SubWrapped
span:
lo: 0
hi: 31
id: 6
right:
Identifier: "{\"id\":\"8\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":44,\\\"hi\\\":45}\"}"
op: SubWrapped
span:
lo: 0
hi: 46
id: 9
- Unary:
receiver:
Binary:
left:
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: SubWrapped
span:
lo: 1
hi: 17
id: 3
op: Negate
span:
lo: 0
hi: 17
id: 4
- Binary:
left:
Unary:
receiver:
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
id: 1
right:
Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: SubWrapped
span:
lo: 1
hi: 19
id: 4
- Unary:
receiver:
Binary:
left:
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: SubWrapped
span:
lo: 2
hi: 18
id: 3
op: Negate
span:
lo: 0
hi: 18
id: 4
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: SubWrapped
span:
lo: 2
hi: 18
id: 3
op: Negate
span:
lo: 1
hi: 18
id: 4
right:
Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: SubWrapped
span:
lo: 1
hi: 34
id: 7
- Unary:
receiver:
Binary:
left:
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: SubWrapped
span:
lo: 1
hi: 17
id: 3
op: Not
span:
lo: 0
hi: 17
id: 4
- Binary:
left:
Unary:
receiver:
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
id: 1
right:
Identifier: "{\"id\":\"3\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":17,\\\"hi\\\":18}\"}"
op: SubWrapped
span:
lo: 1
hi: 19
id: 4
- Unary:
receiver:
Binary:
left:
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: SubWrapped
span:
lo: 2
hi: 18
id: 3
op: Not
span:
lo: 0
hi: 18
id: 4
- Binary:
left:
Unary:
receiver:
Binary:
left:
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
right:
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":16,\\\"hi\\\":17}\"}"
op: SubWrapped
span:
lo: 2
hi: 18
id: 3
op: Not
span:
lo: 1
hi: 18
id: 4
right:
Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":32,\\\"hi\\\":33}\"}"
op: SubWrapped
span:
lo: 1
hi: 34
id: 7
- Binary:
left:
Binary:
left:
Binary:
left:
Identifier: "{\"id\":\"0\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
right:
Identifier: "{\"id\":\"2\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":16}\"}"
op: SubWrapped
span:
lo: 1
hi: 17
id: 3
right:
Binary:
left:
Identifier: "{\"id\":\"4\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":21,\\\"hi\\\":22}\"}"
right:
Identifier: "{\"id\":\"6\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":35,\\\"hi\\\":36}\"}"
op: SubWrapped
span:
lo: 21
hi: 37
id: 7
op: Shl
span:
lo: 1
hi: 37
id: 8
right:
Binary:
left:
Binary:
left:
Identifier: "{\"id\":\"10\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":51,\\\"hi\\\":52}\"}"
right:
Identifier: "{\"id\":\"12\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":65,\\\"hi\\\":66}\"}"
op: SubWrapped
span:
lo: 51
hi: 67
id: 13
right:
Binary:
left:
Identifier: "{\"id\":\"14\",\"name\":\"x\",\"span\":\"{\\\"lo\\\":71,\\\"hi\\\":72}\"}"
right:
Identifier: "{\"id\":\"16\",\"name\":\"y\",\"span\":\"{\\\"lo\\\":85,\\\"hi\\\":86}\"}"
op: SubWrapped
span:
lo: 71
hi: 87
id: 17
op: Shl
span:
lo: 51
hi: 87
id: 18
op: SubWrapped
span:
lo: 1
hi: 88
id: 19