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

87 lines
2.4 KiB
Plaintext
Raw Normal View History

2022-09-07 20:39:00 +03:00
---
namespace: ParseStatement
expectation: Pass
outputs:
2023-04-03 20:33:04 +03:00
- Expression:
expression:
Call:
function:
2023-08-18 00:48:17 +03:00
Identifier: "{\"id\":\"0\",\"name\":\"increment\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}"
2023-04-03 20:33:04 +03:00
arguments:
2023-08-18 00:48:17 +03:00
- Identifier: "{\"id\":\"1\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}"
- Identifier: "{\"id\":\"2\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":18}\"}"
- Identifier: "{\"id\":\"3\",\"name\":\"baz\",\"span\":\"{\\\"lo\\\":20,\\\"hi\\\":23}\"}"
2023-04-03 20:33:04 +03:00
external: ~
span:
lo: 0
hi: 24
2023-08-18 00:48:17 +03:00
id: 4
2022-09-07 20:39:00 +03:00
span:
lo: 0
2023-04-03 20:33:04 +03:00
hi: 25
2023-08-18 00:48:17 +03:00
id: 5
2023-04-03 20:33:04 +03:00
- Expression:
expression:
Call:
function:
2023-08-18 00:48:17 +03:00
Identifier: "{\"id\":\"0\",\"name\":\"increment\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}"
2023-04-03 20:33:04 +03:00
arguments:
2023-08-18 00:48:17 +03:00
- Identifier: "{\"id\":\"1\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}"
2023-04-03 20:33:04 +03:00
- Literal:
Integer:
- U8
- "2"
- span:
lo: 15
hi: 18
2023-08-18 00:48:17 +03:00
- 2
2023-04-03 20:33:04 +03:00
- Literal:
Integer:
- U8
- "3"
- span:
lo: 20
hi: 23
2023-08-18 00:48:17 +03:00
- 3
2023-04-03 20:33:04 +03:00
external: ~
span:
lo: 0
hi: 24
2023-08-18 00:48:17 +03:00
id: 4
2022-09-07 20:39:00 +03:00
span:
lo: 0
2023-04-03 20:33:04 +03:00
hi: 25
2023-08-18 00:48:17 +03:00
id: 5
2023-04-03 20:33:04 +03:00
- Expression:
expression:
Call:
function:
2023-08-18 00:48:17 +03:00
Identifier: "{\"id\":\"0\",\"name\":\"increment\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}"
2023-04-03 20:33:04 +03:00
arguments:
2023-08-18 00:48:17 +03:00
- Identifier: "{\"id\":\"1\",\"name\":\"foo\",\"span\":\"{\\\"lo\\\":10,\\\"hi\\\":13}\"}"
- Identifier: "{\"id\":\"2\",\"name\":\"bar\",\"span\":\"{\\\"lo\\\":15,\\\"hi\\\":18}\"}"
2023-04-03 20:33:04 +03:00
external: ~
span:
lo: 0
hi: 19
2023-08-18 00:48:17 +03:00
id: 3
2023-04-03 20:33:04 +03:00
span:
lo: 0
hi: 20
2023-08-18 00:48:17 +03:00
id: 4
2023-04-03 20:33:04 +03:00
- Expression:
expression:
Call:
function:
2023-08-18 00:48:17 +03:00
Identifier: "{\"id\":\"0\",\"name\":\"increment\",\"span\":\"{\\\"lo\\\":0,\\\"hi\\\":9}\"}"
2023-04-03 20:33:04 +03:00
arguments: []
external: ~
span:
lo: 0
hi: 11
2023-08-18 00:48:17 +03:00
id: 1
2023-04-03 20:33:04 +03:00
span:
lo: 0
hi: 12
2023-08-18 00:48:17 +03:00
id: 2