leo/tests/parser/statement/console.leo.out
2021-04-12 13:15:40 -07:00

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\");"