leo/tests/expectations/parser/finalize/decrement.out

35 lines
823 B
Plaintext
Raw Normal View History

2022-09-07 20:39:00 +03:00
---
namespace: ParseStatement
expectation: Pass
outputs:
- Decrement:
mapping: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}"
index:
Identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":18}\"}"
amount:
Identifier: "{\"name\":\"baz\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":23}\"}"
span:
lo: 0
hi: 24
- Decrement:
mapping: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}"
index:
Literal:
Integer:
- U8
- "2"
- span:
lo: 15
hi: 18
amount:
Literal:
Integer:
- U8
- "3"
- span:
lo: 20
hi: 23
span:
lo: 0
hi: 24