[ { "Label": "continue", "Input": "for i = 1, 100 do if i > 50 then goto continue end print(i) ::continue:: end", "AST": { "Type": "Block", "Range": { "Start": 0, "End": 76 }, "Stmts": [ { "Type": "ForStatement", "Range": { "Start": 0, "End": 76 }, "Name": { "Type": "Identifier", "Range": { "Start": 4, "End": 5 }, "Literal": "i" }, "Start": { "Type": "NumberLiteral", "Range": { "Start": 8, "End": 9 }, "Literal": "1", "Value": 1 }, "Finish": { "Type": "NumberLiteral", "Range": { "Start": 11, "End": 14 }, "Literal": "100", "Value": 100 }, "Step": null, "Body": { "Type": "Block", "Range": { "Start": 18, "End": 72 }, "Stmts": [ { "Type": "IfStatement", "Range": { "Start": 18, "End": 50 }, "Clauses": [ { "Type": "IfClause", "Range": { "Start": 18, "End": 46 }, "Condition": { "Type": "InfixExpression", "Range": { "Start": 21, "End": 27 }, "Left": { "Type": "Identifier", "Range": { "Start": 21, "End": 22 }, "Literal": "i" }, "Operator": "gt", "Right": { "Type": "NumberLiteral", "Range": { "Start": 25, "End": 27 }, "Literal": "50", "Value": 50 } }, "Body": { "Type": "Block", "Range": { "Start": 33, "End": 46 }, "Stmts": [ { "Type": "GotoStatement", "Range": { "Start": 33, "End": 46 }, "Name": { "Type": "Identifier", "Range": { "Start": 38, "End": 46 }, "Literal": "continue" } } ] } } ], "StartPos": 18 }, { "Type": "FunctionCall", "Range": { "Start": 51, "End": 59 }, "Left": { "Type": "Identifier", "Range": { "Start": 51, "End": 56 }, "Literal": "print" }, "Args": [ { "Type": "Identifier", "Range": { "Start": 57, "End": 58 }, "Literal": "i" } ] }, { "Type": "LabelStatement", "Range": { "Start": 60, "End": 72 }, "Name": { "Type": "Identifier", "Range": { "Start": 62, "End": 70 }, "Literal": "continue" } } ] } } ] } } ]