leo/tests/parser/functions/params.leo.out

75 lines
2.8 KiB
Plaintext
Raw Normal View History

2021-03-30 01:45:10 +03:00
---
2021-04-07 20:01:24 +03:00
namespace: Parse
2021-03-30 01:45:10 +03:00
expectation: Pass
outputs:
- name: ""
expected_input: []
imports: []
circuits: {}
functions:
2021-04-06 16:57:46 +03:00
"{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"params.leo\\\",\\\"content\\\":\\\"function x(x: u32, y: i32) {\\\"}\"}":
2021-03-30 01:45:10 +03:00
annotations: []
2021-04-06 16:57:46 +03:00
identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":10,\\\"col_stop\\\":11,\\\"path\\\":\\\"params.leo\\\",\\\"content\\\":\\\"function x(x: u32, y: i32) {\\\"}\"}"
2021-03-30 01:45:10 +03:00
input:
- Variable:
2021-04-06 16:57:46 +03:00
identifier: "{\"name\":\"x\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":12,\\\"col_stop\\\":13,\\\"path\\\":\\\"params.leo\\\",\\\"content\\\":\\\"function x(x: u32, y: i32) {\\\"}\"}"
2021-03-30 01:45:10 +03:00
const_: false
mutable: true
type_:
IntegerType: U32
span:
line_start: 3
line_stop: 3
col_start: 12
col_stop: 13
2021-04-06 16:57:46 +03:00
path: params.leo
2021-03-30 01:45:10 +03:00
content: "function x(x: u32, y: i32) {"
- Variable:
2021-04-06 16:57:46 +03:00
identifier: "{\"name\":\"y\",\"span\":\"{\\\"line_start\\\":3,\\\"line_stop\\\":3,\\\"col_start\\\":20,\\\"col_stop\\\":21,\\\"path\\\":\\\"params.leo\\\",\\\"content\\\":\\\"function x(x: u32, y: i32) {\\\"}\"}"
2021-03-30 01:45:10 +03:00
const_: false
mutable: true
type_:
IntegerType: I32
span:
line_start: 3
line_stop: 3
col_start: 20
col_stop: 21
2021-04-06 16:57:46 +03:00
path: params.leo
2021-03-30 01:45:10 +03:00
content: "function x(x: u32, y: i32) {"
output: ~
block:
statements:
- Return:
expression:
TupleInit:
elements: []
span:
line_start: 4
line_stop: 4
col_start: 12
col_stop: 14
2021-04-06 16:57:46 +03:00
path: params.leo
2021-03-30 01:45:10 +03:00
content: " return ();"
span:
line_start: 4
line_stop: 4
col_start: 5
col_stop: 14
2021-04-06 16:57:46 +03:00
path: params.leo
2021-03-30 01:45:10 +03:00
content: " return ();"
span:
line_start: 3
line_stop: 5
col_start: 28
col_stop: 2
2021-04-06 16:57:46 +03:00
path: params.leo
2021-03-30 01:45:10 +03:00
content: "function x(x: u32, y: i32) {\n...\n}"
span:
line_start: 3
line_stop: 5
col_start: 1
col_stop: 2
2021-04-06 16:57:46 +03:00
path: params.leo
2021-03-30 01:45:10 +03:00
content: "function x(x: u32, y: i32) {\n...\n}"