mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 08:31:33 +03:00
71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"name": "leo_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,
|
|
"block" : {
|
|
"statements": [
|
|
{
|
|
"Return": [
|
|
{
|
|
"Binary": {
|
|
"left": {
|
|
"Value": {
|
|
"Implicit": [
|
|
"1",
|
|
{
|
|
"text": " return 1 + 1",
|
|
"line": 2,
|
|
"start": 12,
|
|
"end": 13
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"op": "Add",
|
|
"right": {
|
|
"Value": {
|
|
"Implicit": [
|
|
"1",
|
|
{
|
|
"text": " return 1 + 1",
|
|
"line": 2,
|
|
"start": 16,
|
|
"end": 17
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"span": {
|
|
"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": {}
|
|
} |