leo/tests/expectations/parser/finalize/increment.out
Pranav Gaddamadugu 65ba316c4f Regen expectations
2023-08-09 17:38:33 -04:00

87 lines
2.2 KiB
Plaintext

---
namespace: ParseStatement
expectation: Pass
outputs:
- Expression:
expression:
Call:
function:
Identifier: "{\"name\":\"increment\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}"
arguments:
- Identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}"
- Identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":18}\"}"
- Identifier: "{\"name\":\"baz\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":23}\"}"
external: ~
span:
lo: 0
hi: 24
id: 0
span:
lo: 0
hi: 25
id: 0
- Expression:
expression:
Call:
function:
Identifier: "{\"name\":\"increment\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}"
arguments:
- Identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}"
- Literal:
Integer:
- U8
- "2"
- span:
lo: 15
hi: 18
- 0
- Literal:
Integer:
- U8
- "3"
- span:
lo: 20
hi: 23
- 0
external: ~
span:
lo: 0
hi: 24
id: 0
span:
lo: 0
hi: 25
id: 0
- Expression:
expression:
Call:
function:
Identifier: "{\"name\":\"increment\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}"
arguments:
- Identifier: "{\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}"
- Identifier: "{\"name\":\"bar\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":18}\"}"
external: ~
span:
lo: 0
hi: 19
id: 0
span:
lo: 0
hi: 20
id: 0
- Expression:
expression:
Call:
function:
Identifier: "{\"name\":\"increment\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}"
arguments: []
external: ~
span:
lo: 0
hi: 11
id: 0
span:
lo: 0
hi: 12
id: 0