leo/tests/expectations/parser/functions/const_param.out
Pranav Gaddamadugu e1a148a93e Regen expectations
2022-10-05 23:52:37 -07:00

119 lines
3.8 KiB
Plaintext

---
namespace: Parse
expectation: Pass
outputs:
- imports: {}
program_scopes:
"{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}":
program_id: "{\"name\":\"test\",\"network\":\"\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"aleo\\\\\\\",\\\\\\\"span\\\\\\\":\\\\\\\"{\\\\\\\\\\\\\\\"lo\\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\\"hi\\\\\\\\\\\\\\\":19}\\\\\\\"}\\\"\"}"
structs: {}
mappings: {}
functions:
"{\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}":
annotations: []
call_type: Standard
identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":39,\\\"hi\\\":40}\"}"
input:
- Internal:
identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":41,\\\"hi\\\":42}\"}"
mode: None
type_:
Integer: U32
span:
lo: 41
hi: 42
- Internal:
identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":58,\\\"hi\\\":59}\"}"
mode: Const
type_:
Integer: I32
span:
lo: 58
hi: 59
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 69
hi: 71
output_type:
Integer: U8
block:
statements:
- Return:
expression:
Literal:
Integer:
- U8
- "0"
- span:
lo: 89
hi: 92
span:
lo: 82
hi: 92
span:
lo: 72
hi: 99
finalize: ~
span:
lo: 30
hi: 99
"{\"name\":\"x\",\"span\":\"{\\\"lo\\\":118,\\\"hi\\\":119}\"}":
annotations: []
call_type: Standard
identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":118,\\\"hi\\\":119}\"}"
input:
- Internal:
identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":129,\\\"hi\\\":130}\"}"
mode: Const
type_:
Integer: U32
span:
lo: 129
hi: 130
- Internal:
identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":137,\\\"hi\\\":138}\"}"
mode: None
type_:
Integer: I32
span:
lo: 137
hi: 138
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 148
hi: 150
output_type:
Integer: U8
block:
statements:
- Return:
expression:
Literal:
Integer:
- U8
- "0"
- span:
lo: 168
hi: 171
span:
lo: 161
hi: 171
span:
lo: 151
hi: 178
finalize: ~
span:
lo: 109
hi: 178
span:
lo: 2
hi: 179