leo/tests/expectations/parser/expression/unary/abs.out
2022-07-28 14:14:25 -07:00

147 lines
3.0 KiB
Plaintext

---
namespace: ParseExpression
expectation: Pass
outputs:
- Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: Abs
span:
lo: 0
hi: 7
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":1}\"}"
op: Abs
span:
lo: 0
hi: 7
op: Abs
span:
lo: 0
hi: 13
op: Abs
span:
lo: 0
hi: 19
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Abs
span:
lo: 1
hi: 8
op: Negate
span:
lo: 0
hi: 8
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Negate
span:
lo: 1
hi: 3
op: Abs
span:
lo: 1
hi: 10
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Abs
span:
lo: 2
hi: 9
op: Negate
span:
lo: 0
hi: 9
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Abs
span:
lo: 2
hi: 9
op: Negate
span:
lo: 1
hi: 9
op: Abs
span:
lo: 1
hi: 16
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":1,\\\"hi\\\":2}\"}"
op: Abs
span:
lo: 1
hi: 8
op: Not
span:
lo: 0
hi: 8
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Not
span:
lo: 1
hi: 3
op: Abs
span:
lo: 1
hi: 10
- Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Abs
span:
lo: 2
hi: 9
op: Not
span:
lo: 0
hi: 9
- Unary:
receiver:
Unary:
receiver:
Unary:
receiver:
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":2,\\\"hi\\\":3}\"}"
op: Abs
span:
lo: 2
hi: 9
op: Not
span:
lo: 1
hi: 9
op: Abs
span:
lo: 1
hi: 16