leo/tests/expectations/parser/functions/public_param.out
Pranav Gaddamadugu 65ba316c4f Regen expectations
2023-08-09 17:38:33 -04:00

75 lines
2.4 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:
x:
annotations: []
variant: Standard
identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":116,\\\"hi\\\":117}\"}"
input:
- Internal:
identifier: "{\"name\":\"x\",\"span\":\"{\\\"lo\\\":125,\\\"hi\\\":126}\"}"
mode: Public
type_:
Integer: U32
span:
lo: 125
hi: 126
id: 0
- Internal:
identifier: "{\"name\":\"y\",\"span\":\"{\\\"lo\\\":133,\\\"hi\\\":134}\"}"
mode: None
type_:
Integer: I32
span:
lo: 133
hi: 134
id: 0
output:
- Internal:
mode: None
type_:
Integer: U8
span:
lo: 144
hi: 146
id: 0
output_type:
Integer: U8
block:
statements:
- Return:
expression:
Literal:
Integer:
- U8
- "0"
- span:
lo: 164
hi: 167
- 0
finalize_arguments: ~
span:
lo: 157
hi: 168
id: 0
span:
lo: 147
hi: 174
id: 0
finalize: ~
span:
lo: 107
hi: 174
id: 0
span:
lo: 2
hi: 176