leo/tests/expectations/parser/finalize/increment.out
2022-09-07 10:39:00 -07:00

35 lines
823 B
Plaintext

---
namespace: ParseStatement
expectation: Pass
outputs:
- Increment:
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
- Increment:
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