{ "type": "Program", "statements": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "type", "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 9 } } }, "init": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 13 } } }, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 13 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 16 } } }, "init": { "type": "NumberLiteral", "value": 0, "loc": { "start": { "line": 17, "column": 19 }, "end": { "line": 17, "column": 20 } } }, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 20 } } } ], "kind": "var", "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 21 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "type", "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 5 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 9 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 9 } } }, "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 10 } } }, { "type": "ExpressionStatement", "expression": { "type": "UpdateExpression", "operator": "++", "prefix": false, "argument": { "type": "Identifier", "name": "type", "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 5 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 7 } } }, "loc": { "start": { "line": 19, "column": 1 }, "end": { "line": 19, "column": 8 } } }, { "type": "TSTypeAliasDeclaration", "id": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 21, "column": 6 }, "end": { "line": 21, "column": 7 } } }, "typeAnnotation": { "type": "TSNumberKeyword", "loc": { "start": { "line": 21, "column": 10 }, "end": { "line": 21, "column": 16 } } }, "loc": { "start": { "line": 21, "column": 1 }, "end": { "line": 21, "column": 17 } } }, { "type": "ExpressionStatement", "expression": { "type": "Identifier", "name": "type", "loc": { "start": { "line": 23, "column": 1 }, "end": { "line": 23, "column": 5 } } }, "loc": { "start": { "line": 23, "column": 1 }, "end": { "line": 23, "column": 5 } } }, { "type": "ExpressionStatement", "expression": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 24, "column": 1 }, "end": { "line": 24, "column": 2 } } }, "loc": { "start": { "line": 24, "column": 1 }, "end": { "line": 24, "column": 2 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 25, "column": 1 } } }