mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 00:21:47 +03:00
95 lines
3.1 KiB
JSON
95 lines
3.1 KiB
JSON
{
|
|
"name": "",
|
|
"expected_input": [],
|
|
"import_statements": [],
|
|
"imports": {},
|
|
"circuits": {},
|
|
"global_consts": {},
|
|
"functions": {
|
|
"main": {
|
|
"annotations": [],
|
|
"identifier": "{\"name\":\"main\",\"span\":\"{\\\"line_start\\\":1,\\\"line_stop\\\":1,\\\"col_start\\\":10,\\\"col_stop\\\":14,\\\"path\\\":\\\"C:\\\\\\\\Users\\\\\\\\jonat\\\\\\\\AppData\\\\\\\\Roaming\\\\\\\\work\\\\\\\\tester\\\\\\\\src/main.leo\\\",\\\"content\\\":\\\"function main() -> u8 {\\\"}\"}",
|
|
"input": [],
|
|
"output": {
|
|
"IntegerType": "U8"
|
|
},
|
|
"block": {
|
|
"statements": [
|
|
{
|
|
"Return": {
|
|
"expression": {
|
|
"Binary": {
|
|
"left": {
|
|
"Value": {
|
|
"Integer": [
|
|
"U8",
|
|
"1",
|
|
{
|
|
"line_start": 2,
|
|
"line_stop": 2,
|
|
"col_start": 12,
|
|
"col_stop": 15,
|
|
"path": "C:\\Users\\jonat\\AppData\\Roaming\\work\\tester\\src/main.leo",
|
|
"content": " return 1u8 + 1u8;"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"right": {
|
|
"Value": {
|
|
"Integer": [
|
|
"U8",
|
|
"1",
|
|
{
|
|
"line_start": 2,
|
|
"line_stop": 2,
|
|
"col_start": 18,
|
|
"col_stop": 21,
|
|
"path": "C:\\Users\\jonat\\AppData\\Roaming\\work\\tester\\src/main.leo",
|
|
"content": " return 1u8 + 1u8;"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"op": "Add",
|
|
"span": {
|
|
"line_start": 2,
|
|
"line_stop": 2,
|
|
"col_start": 12,
|
|
"col_stop": 21,
|
|
"path": "C:\\Users\\jonat\\AppData\\Roaming\\work\\tester\\src/main.leo",
|
|
"content": " return 1u8 + 1u8;"
|
|
}
|
|
}
|
|
},
|
|
"span": {
|
|
"line_start": 2,
|
|
"line_stop": 2,
|
|
"col_start": 5,
|
|
"col_stop": 21,
|
|
"path": "C:\\Users\\jonat\\AppData\\Roaming\\work\\tester\\src/main.leo",
|
|
"content": " return 1u8 + 1u8;"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"span": {
|
|
"line_start": 1,
|
|
"line_stop": 3,
|
|
"col_start": 23,
|
|
"col_stop": 2,
|
|
"path": "C:\\Users\\jonat\\AppData\\Roaming\\work\\tester\\src/main.leo",
|
|
"content": "function main() -> u8 {\n ...\n}"
|
|
}
|
|
},
|
|
"span": {
|
|
"line_start": 1,
|
|
"line_stop": 3,
|
|
"col_start": 1,
|
|
"col_stop": 2,
|
|
"path": "C:\\Users\\jonat\\AppData\\Roaming\\work\\tester\\src/main.leo",
|
|
"content": "function main() -> u8 {\n ...\n}"
|
|
}
|
|
}
|
|
}
|
|
} |