{ "type": "Program", "statements": [ { "type": "DoWhileStatement", "body": { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 5 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 9 } } }, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 9 } } }, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 9 } } }, "test": { "type": "BinaryExpression", "operator": ">", "left": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 9 } } }, "right": { "type": "Identifier", "name": "b", "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 13 } } }, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 13 } } }, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 18, "column": 14 } } }, { "type": "DoWhileStatement", "body": { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 5 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 9 } } }, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 9 } } }, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 10 } } }, "test": { "type": "BinaryExpression", "operator": ">", "left": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 19 } } }, "right": { "type": "Identifier", "name": "b", "loc": { "start": { "line": 20, "column": 22 }, "end": { "line": 20, "column": 23 } } }, "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 23 } } }, "loc": { "start": { "line": 20, "column": 1 }, "end": { "line": 20, "column": 24 } } }, { "type": "DoWhileStatement", "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 22, "column": 6 }, "end": { "line": 22, "column": 7 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 22, "column": 10 }, "end": { "line": 22, "column": 11 } } }, "loc": { "start": { "line": 22, "column": 6 }, "end": { "line": 22, "column": 11 } } }, "loc": { "start": { "line": 22, "column": 6 }, "end": { "line": 22, "column": 11 } } } ], "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 13 } } }, "test": { "type": "BinaryExpression", "operator": ">", "left": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 22 } } }, "right": { "type": "Identifier", "name": "b", "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 26 } } }, "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 26 } } }, "loc": { "start": { "line": 22, "column": 1 }, "end": { "line": 22, "column": 27 } } }, { "type": "DoWhileStatement", "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 24, "column": 6 }, "end": { "line": 24, "column": 7 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 24, "column": 10 }, "end": { "line": 24, "column": 11 } } }, "loc": { "start": { "line": 24, "column": 6 }, "end": { "line": 24, "column": 11 } } }, "loc": { "start": { "line": 24, "column": 6 }, "end": { "line": 24, "column": 12 } } } ], "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 14 } } }, "test": { "type": "BinaryExpression", "operator": ">", "left": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 24, "column": 22 }, "end": { "line": 24, "column": 23 } } }, "right": { "type": "Identifier", "name": "b", "loc": { "start": { "line": 24, "column": 26 }, "end": { "line": 24, "column": 27 } } }, "loc": { "start": { "line": 24, "column": 22 }, "end": { "line": 24, "column": 27 } } }, "loc": { "start": { "line": 24, "column": 1 }, "end": { "line": 24, "column": 28 } } }, { "type": "DoWhileStatement", "body": { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 27, "column": 5 }, "end": { "line": 27, "column": 6 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 10 } } }, "loc": { "start": { "line": 27, "column": 5 }, "end": { "line": 27, "column": 10 } } }, "loc": { "start": { "line": 27, "column": 5 }, "end": { "line": 27, "column": 10 } } }, "test": { "type": "BooleanLiteral", "value": false, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 13 } } }, "loc": { "start": { "line": 26, "column": 1 }, "end": { "line": 28, "column": 14 } } }, { "type": "DoWhileStatement", "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 7 } } }, "test": { "type": "BooleanLiteral", "value": false, "loc": { "start": { "line": 30, "column": 15 }, "end": { "line": 30, "column": 20 } } }, "loc": { "start": { "line": 30, "column": 1 }, "end": { "line": 30, "column": 22 } } }, { "type": "DoWhileStatement", "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 33, "column": 5 }, "end": { "line": 33, "column": 6 } } }, "right": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 33, "column": 9 }, "end": { "line": 33, "column": 10 } } }, "loc": { "start": { "line": 33, "column": 5 }, "end": { "line": 33, "column": 10 } } }, "loc": { "start": { "line": 33, "column": 5 }, "end": { "line": 33, "column": 11 } } } ], "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 2 } } }, "test": { "type": "BooleanLiteral", "value": false, "loc": { "start": { "line": 34, "column": 10 }, "end": { "line": 34, "column": 15 } } }, "loc": { "start": { "line": 32, "column": 1 }, "end": { "line": 34, "column": 17 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 45, "column": 1 } } }