mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-30 13:45:13 +03:00
208 lines
6.8 KiB
Plaintext
208 lines
6.8 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\\\":\\\"console.leo\\\",\\\"content\\\":\\\"console.assert(x);\\\"}\"}"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 17
|
|
path: console.leo
|
|
content: console.assert(x);
|
|
- Console:
|
|
function:
|
|
Error:
|
|
parts:
|
|
- Container
|
|
parameters:
|
|
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":21,\\\"col_stop\\\":22,\\\"path\\\":\\\"console.leo\\\",\\\"content\\\":\\\"console.error(\\\\\\\"{}\\\\\\\", x);\\\"}\"}"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 15
|
|
col_stop: 22
|
|
path: console.leo
|
|
content: "console.error(\"{}\", x);"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 22
|
|
path: console.leo
|
|
content: "console.error(\"{}\", x);"
|
|
- Console:
|
|
function:
|
|
Error:
|
|
parts:
|
|
- Container
|
|
- Container
|
|
parameters:
|
|
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":23,\\\"col_stop\\\":24,\\\"path\\\":\\\"console.leo\\\",\\\"content\\\":\\\"console.error(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}"
|
|
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":26,\\\"col_stop\\\":27,\\\"path\\\":\\\"console.leo\\\",\\\"content\\\":\\\"console.error(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 15
|
|
col_stop: 27
|
|
path: console.leo
|
|
content: "console.error(\"{}{}\", x, y);"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 27
|
|
path: console.leo
|
|
content: "console.error(\"{}{}\", x, y);"
|
|
- Console:
|
|
function:
|
|
Error:
|
|
parts:
|
|
- Const: x
|
|
parameters: []
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 15
|
|
col_stop: 18
|
|
path: console.leo
|
|
content: "console.error(\"x\");"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 18
|
|
path: console.leo
|
|
content: "console.error(\"x\");"
|
|
- Console:
|
|
function:
|
|
Debug:
|
|
parts:
|
|
- Container
|
|
parameters:
|
|
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":21,\\\"col_stop\\\":22,\\\"path\\\":\\\"console.leo\\\",\\\"content\\\":\\\"console.debug(\\\\\\\"{}\\\\\\\", x);\\\"}\"}"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 15
|
|
col_stop: 22
|
|
path: console.leo
|
|
content: "console.debug(\"{}\", x);"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 22
|
|
path: console.leo
|
|
content: "console.debug(\"{}\", x);"
|
|
- Console:
|
|
function:
|
|
Debug:
|
|
parts:
|
|
- Container
|
|
- Container
|
|
parameters:
|
|
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":23,\\\"col_stop\\\":24,\\\"path\\\":\\\"console.leo\\\",\\\"content\\\":\\\"console.debug(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}"
|
|
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":26,\\\"col_stop\\\":27,\\\"path\\\":\\\"console.leo\\\",\\\"content\\\":\\\"console.debug(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 15
|
|
col_stop: 27
|
|
path: console.leo
|
|
content: "console.debug(\"{}{}\", x, y);"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 27
|
|
path: console.leo
|
|
content: "console.debug(\"{}{}\", x, y);"
|
|
- Console:
|
|
function:
|
|
Debug:
|
|
parts:
|
|
- Const: x
|
|
parameters: []
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 15
|
|
col_stop: 18
|
|
path: console.leo
|
|
content: "console.debug(\"x\");"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 18
|
|
path: console.leo
|
|
content: "console.debug(\"x\");"
|
|
- Console:
|
|
function:
|
|
Log:
|
|
parts:
|
|
- Container
|
|
parameters:
|
|
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":19,\\\"col_stop\\\":20,\\\"path\\\":\\\"console.leo\\\",\\\"content\\\":\\\"console.log(\\\\\\\"{}\\\\\\\", x);\\\"}\"}"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 13
|
|
col_stop: 20
|
|
path: console.leo
|
|
content: "console.log(\"{}\", x);"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 20
|
|
path: console.leo
|
|
content: "console.log(\"{}\", x);"
|
|
- Console:
|
|
function:
|
|
Log:
|
|
parts:
|
|
- Container
|
|
- Container
|
|
parameters:
|
|
- Identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":21,\\\"col_stop\\\":22,\\\"path\\\":\\\"console.leo\\\",\\\"content\\\":\\\"console.log(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}"
|
|
- Identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":24,\\\"col_stop\\\":25,\\\"path\\\":\\\"console.leo\\\",\\\"content\\\":\\\"console.log(\\\\\\\"{}{}\\\\\\\", x, y);\\\"}\"}"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 13
|
|
col_stop: 25
|
|
path: console.leo
|
|
content: "console.log(\"{}{}\", x, y);"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 25
|
|
path: console.leo
|
|
content: "console.log(\"{}{}\", x, y);"
|
|
- Console:
|
|
function:
|
|
Log:
|
|
parts:
|
|
- Const: x
|
|
parameters: []
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 13
|
|
col_stop: 16
|
|
path: console.leo
|
|
content: "console.log(\"x\");"
|
|
span:
|
|
line_start: 1
|
|
line_stop: 1
|
|
col_start: 1
|
|
col_stop: 16
|
|
path: console.leo
|
|
content: "console.log(\"x\");"
|