-
Notifications
You must be signed in to change notification settings - Fork 0
/
ast.json
1 lines (1 loc) · 1.15 KB
/
ast.json
1
{"kind": "program", "body": [{"kind": "variableDeclarationExpression", "datatype": "array", "identifier": "test", "value": {"kind": "arrayLiteral", "items": [{"kind": "itemLiteral", "index": 0, "value": {"kind": "integerLiteral", "value": 53}}, {"kind": "itemLiteral", "index": 1, "value": {"kind": "integerLiteral", "value": 34}}, {"kind": "itemLiteral", "index": 2, "value": {"kind": "integerLiteral", "value": 64}}, {"kind": "itemLiteral", "index": 3, "value": {"kind": "integerLiteral", "value": 31}}]}, "constant": "False"}, {"kind": "forEachStatement", "declaration": {"kind": "variableDeclarationExpression", "datatype": "int", "identifier": "i", "value": {"kind": "integerLiteral", "value": 0}, "constant": "False"}, "iterable": {"kind": "identifier", "symbol": "test"}, "body": [{"kind": "callExpression", "arguments": [{"kind": "identifier", "symbol": "i"}], "caller": {"kind": "identifier", "symbol": "output"}}]}, {"kind": "identifier", "symbol": "hello"}, {"kind": "identifier", "symbol": "world"}, {"kind": "identifier", "symbol": "how"}, {"kind": "identifier", "symbol": "are"}, {"kind": "identifier", "symbol": "you"}, {"kind": "identifier", "symbol": "ding"}]}