mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-25 10:32:13 +03:00
64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"name": "leo_core_tree",
|
|
"expected_input": [],
|
|
"imports": [],
|
|
"circuits": {},
|
|
"functions": {
|
|
"{\"name\":\"main\",\"span\":\"{\\\"text\\\":\\\" function main() {\\\",\\\"line\\\":1,\\\"start\\\":10,\\\"end\\\":14}\"}": {
|
|
"identifier": "{\"name\":\"main\",\"span\":\"{\\\"text\\\":\\\" function main() {\\\",\\\"line\\\":1,\\\"start\\\":10,\\\"end\\\":14}\"}",
|
|
"input": [],
|
|
"output": null,
|
|
"statements": [
|
|
{
|
|
"Return": [
|
|
{
|
|
"Add": [[
|
|
{
|
|
"Implicit": [
|
|
"1",
|
|
{
|
|
"text": " return 1 + 1",
|
|
"line": 2,
|
|
"start": 12,
|
|
"end": 13
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Implicit": [
|
|
"1",
|
|
{
|
|
"text": " return 1 + 1",
|
|
"line": 2,
|
|
"start": 16,
|
|
"end": 17
|
|
}
|
|
]
|
|
}],
|
|
{
|
|
"text": " return 1 + 1",
|
|
"line": 2,
|
|
"start": 12,
|
|
"end": 17
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": " return 1 + 1",
|
|
"line": 2,
|
|
"start": 5,
|
|
"end": 17
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"span": {
|
|
"text": " function main() {",
|
|
"line": 1,
|
|
"start": 1,
|
|
"end": 1
|
|
}
|
|
}
|
|
},
|
|
"tests": {}
|
|
} |