mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-24 18:12:28 +03:00
150 lines
4.7 KiB
Plaintext
150 lines
4.7 KiB
Plaintext
---
|
|
namespace: ParseStatement
|
|
expectation: Pass
|
|
outputs:
|
|
- Console:
|
|
function:
|
|
Assert:
|
|
Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":16,\\\"col_stop\\\":17,\\\"path\\\":\\\"\\\",\\\"content\\\":\\\"console.assert(x);\\\"}\"}"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 17
|
|
path: ""
|
|
content: console.assert(x);
|
|
- Console:
|
|
function:
|
|
Error:
|
|
string:
|
|
- Scalar: 123
|
|
- Scalar: 125
|
|
parameters:
|
|
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":21,\\\"col_stop\\\":22,\\\"path\\\":\\\"\\\",\\\"content\\\":\\\"console.error(\\\\\\\"{}\\\\\\\", x);\\\"}\"}"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 14
|
|
col_stop: 23
|
|
path: ""
|
|
content: "console.error(\"{}\", x);"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 23
|
|
path: ""
|
|
content: "console.error(\"{}\", x);"
|
|
- Console:
|
|
function:
|
|
Error:
|
|
string:
|
|
- Scalar: 123
|
|
- Scalar: 125
|
|
- Scalar: 123
|
|
- Scalar: 125
|
|
parameters:
|
|
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":23,\\\"col_stop\\\":24,\\\"path\\\":\\\"\\\",\\\"content\\\":\\\"console.error(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}"
|
|
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":26,\\\"col_stop\\\":27,\\\"path\\\":\\\"\\\",\\\"content\\\":\\\"console.error(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 14
|
|
col_stop: 28
|
|
path: ""
|
|
content: "console.error(\"{}{}\", x, y);"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 28
|
|
path: ""
|
|
content: "console.error(\"{}{}\", x, y);"
|
|
- Console:
|
|
function:
|
|
Error:
|
|
string:
|
|
- Scalar: 120
|
|
parameters: []
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 14
|
|
col_stop: 19
|
|
path: ""
|
|
content: "console.error(\"x\");"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 19
|
|
path: ""
|
|
content: "console.error(\"x\");"
|
|
- Console:
|
|
function:
|
|
Log:
|
|
string:
|
|
- Scalar: 123
|
|
- Scalar: 125
|
|
parameters:
|
|
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":19,\\\"col_stop\\\":20,\\\"path\\\":\\\"\\\",\\\"content\\\":\\\"console.log(\\\\\\\"{}\\\\\\\", x);\\\"}\"}"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 12
|
|
col_stop: 21
|
|
path: ""
|
|
content: "console.log(\"{}\", x);"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 21
|
|
path: ""
|
|
content: "console.log(\"{}\", x);"
|
|
- Console:
|
|
function:
|
|
Log:
|
|
string:
|
|
- Scalar: 123
|
|
- Scalar: 125
|
|
- Scalar: 123
|
|
- Scalar: 125
|
|
parameters:
|
|
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":21,\\\"col_stop\\\":22,\\\"path\\\":\\\"\\\",\\\"content\\\":\\\"console.log(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}"
|
|
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":24,\\\"col_stop\\\":25,\\\"path\\\":\\\"\\\",\\\"content\\\":\\\"console.log(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 12
|
|
col_stop: 26
|
|
path: ""
|
|
content: "console.log(\"{}{}\", x, y);"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 26
|
|
path: ""
|
|
content: "console.log(\"{}{}\", x, y);"
|
|
- Console:
|
|
function:
|
|
Log:
|
|
string:
|
|
- Scalar: 120
|
|
parameters: []
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 12
|
|
col_stop: 17
|
|
path: ""
|
|
content: "console.log(\"x\");"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 17
|
|
path: ""
|
|
content: "console.log(\"x\");"
|