tlang-runtime-compiler/ByteCodeTest/ast.json

65 lines
1.3 KiB
JSON

{
"RootScope": true,
"IsSwitchScope": false,
"SwitchCondition": {
"LineInfo": null
},
"Nodes": [
{
"Condition": {
"Text": "Demi Lovato",
"LineInfo": {
"FileName": "memory.tlang",
"Line": 1,
"Column": 5,
"Position": 4
}
},
"Yes": {
"RootScope": false,
"IsSwitchScope": false,
"SwitchCondition": {
"LineInfo": null
},
"Nodes": [
{
"Arguments": [
{
"Text": "Linus",
"LineInfo": {
"FileName": "memory.tlang",
"Line": 3,
"Column": 12,
"Position": 28
}
}
],
"Name": "print",
"LineInfo": {
"FileName": "memory.tlang",
"Line": 3,
"Column": 6,
"Position": 22
}
}
],
"LineInfo": {
"FileName": "memory.tlang",
"Line": 3,
"Column": 6,
"Position": 22
}
},
"No": {
"LineInfo": null
},
"LineInfo": null
}
],
"LineInfo": {
"FileName": "memory.tlang",
"Line": 1,
"Column": 2,
"Position": 1
}
}