2021-03-30 01:45:10 +03:00
|
|
|
---
|
2021-04-07 20:01:24 +03:00
|
|
|
namespace: ParseStatement
|
2021-03-30 01:45:10 +03:00
|
|
|
expectation: Pass
|
|
|
|
outputs:
|
|
|
|
- Expression:
|
|
|
|
expression:
|
2021-04-06 16:57:46 +03:00
|
|
|
Identifier: "{\"name\":\"expr\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":5,\\\"path\\\":\\\"expression.leo\\\",\\\"content\\\":\\\"expr;\\\"}\"}"
|
2021-03-30 01:45:10 +03:00
|
|
|
span:
|
|
|
|
line_start: 1
|
|
|
|
line_stop: 1
|
|
|
|
col_start: 1
|
|
|
|
col_stop: 5
|
2021-04-06 16:57:46 +03:00
|
|
|
path: expression.leo
|
2021-03-30 01:45:10 +03:00
|
|
|
content: expr;
|
|
|
|
- Expression:
|
|
|
|
expression:
|
|
|
|
TupleInit:
|
|
|
|
elements: []
|
|
|
|
span:
|
|
|
|
line_start: 1
|
|
|
|
line_stop: 1
|
|
|
|
col_start: 1
|
|
|
|
col_stop: 3
|
2021-04-06 16:57:46 +03:00
|
|
|
path: expression.leo
|
2021-03-30 01:45:10 +03:00
|
|
|
content: ();
|
|
|
|
span:
|
|
|
|
line_start: 1
|
|
|
|
line_stop: 1
|
|
|
|
col_start: 1
|
|
|
|
col_stop: 3
|
2021-04-06 16:57:46 +03:00
|
|
|
path: expression.leo
|
2021-03-30 01:45:10 +03:00
|
|
|
content: ();
|
|
|
|
- Expression:
|
|
|
|
expression:
|
|
|
|
Binary:
|
|
|
|
left:
|
2021-04-06 16:57:46 +03:00
|
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"expression.leo\\\",\\\"content\\\":\\\"x+y;\\\"}\"}"
|
2021-03-30 01:45:10 +03:00
|
|
|
right:
|
2021-04-06 16:57:46 +03:00
|
|
|
Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":3,\\\"col_stop\\\":4,\\\"path\\\":\\\"expression.leo\\\",\\\"content\\\":\\\"x+y;\\\"}\"}"
|
2021-03-30 01:45:10 +03:00
|
|
|
op: Add
|
|
|
|
span:
|
|
|
|
line_start: 1
|
|
|
|
line_stop: 1
|
|
|
|
col_start: 1
|
|
|
|
col_stop: 4
|
2021-04-06 16:57:46 +03:00
|
|
|
path: expression.leo
|
2021-03-30 01:45:10 +03:00
|
|
|
content: x+y;
|
|
|
|
span:
|
|
|
|
line_start: 1
|
|
|
|
line_stop: 1
|
|
|
|
col_start: 1
|
|
|
|
col_stop: 4
|
2021-04-06 16:57:46 +03:00
|
|
|
path: expression.leo
|
2021-03-30 01:45:10 +03:00
|
|
|
content: x+y;
|
|
|
|
- Expression:
|
|
|
|
expression:
|
|
|
|
TupleInit:
|
|
|
|
elements:
|
2021-04-06 16:57:46 +03:00
|
|
|
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":2,\\\"col_stop\\\":3,\\\"path\\\":\\\"expression.leo\\\",\\\"content\\\":\\\"(x,y);\\\"}\"}"
|
|
|
|
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":4,\\\"col_stop\\\":5,\\\"path\\\":\\\"expression.leo\\\",\\\"content\\\":\\\"(x,y);\\\"}\"}"
|
2021-03-30 01:45:10 +03:00
|
|
|
span:
|
|
|
|
line_start: 1
|
|
|
|
line_stop: 1
|
|
|
|
col_start: 1
|
|
|
|
col_stop: 6
|
2021-04-06 16:57:46 +03:00
|
|
|
path: expression.leo
|
2021-03-30 01:45:10 +03:00
|
|
|
content: "(x,y);"
|
|
|
|
span:
|
|
|
|
line_start: 1
|
|
|
|
line_stop: 1
|
|
|
|
col_start: 1
|
|
|
|
col_stop: 6
|
2021-04-06 16:57:46 +03:00
|
|
|
path: expression.leo
|
2021-03-30 01:45:10 +03:00
|
|
|
content: "(x,y);"
|
|
|
|
- Expression:
|
|
|
|
expression:
|
|
|
|
Call:
|
|
|
|
function:
|
2021-04-06 16:57:46 +03:00
|
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":1,\\\"col_stop\\\":2,\\\"path\\\":\\\"expression.leo\\\",\\\"content\\\":\\\"x();\\\"}\"}"
|
2021-03-30 01:45:10 +03:00
|
|
|
arguments: []
|
|
|
|
span:
|
|
|
|
line_start: 1
|
|
|
|
line_stop: 1
|
|
|
|
col_start: 1
|
|
|
|
col_stop: 4
|
2021-04-06 16:57:46 +03:00
|
|
|
path: expression.leo
|
2021-03-30 01:45:10 +03:00
|
|
|
content: x();
|
|
|
|
span:
|
|
|
|
line_start: 1
|
|
|
|
line_stop: 1
|
|
|
|
col_start: 1
|
|
|
|
col_stop: 4
|
2021-04-06 16:57:46 +03:00
|
|
|
path: expression.leo
|
2021-03-30 01:45:10 +03:00
|
|
|
content: x();
|