1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "VariableDeclaration", 6 "declarations": [ 7 { 8 "type": "VariableDeclarator", 9 "id": { 10 "type": "Identifier", 11 "name": "s", 12 "decorators": [], 13 "loc": { 14 "start": { 15 "line": 16, 16 "column": 5 17 }, 18 "end": { 19 "line": 16, 20 "column": 6 21 } 22 } 23 }, 24 "init": { 25 "type": "NumberLiteral", 26 "value": 0, 27 "loc": { 28 "start": { 29 "line": 16, 30 "column": 9 31 }, 32 "end": { 33 "line": 16, 34 "column": 10 35 } 36 } 37 }, 38 "loc": { 39 "start": { 40 "line": 16, 41 "column": 5 42 }, 43 "end": { 44 "line": 16, 45 "column": 10 46 } 47 } 48 } 49 ], 50 "kind": "var", 51 "loc": { 52 "start": { 53 "line": 16, 54 "column": 1 55 }, 56 "end": { 57 "line": 16, 58 "column": 11 59 } 60 } 61 }, 62 { 63 "type": "DoWhileStatement", 64 "body": { 65 "type": "ExpressionStatement", 66 "expression": { 67 "type": "UpdateExpression", 68 "operator": "++", 69 "prefix": false, 70 "argument": { 71 "type": "Identifier", 72 "name": "s", 73 "decorators": [], 74 "loc": { 75 "start": { 76 "line": 19, 77 "column": 4 78 }, 79 "end": { 80 "line": 19, 81 "column": 5 82 } 83 } 84 }, 85 "loc": { 86 "start": { 87 "line": 19, 88 "column": 4 89 }, 90 "end": { 91 "line": 19, 92 "column": 7 93 } 94 } 95 }, 96 "loc": { 97 "start": { 98 "line": 19, 99 "column": 4 100 }, 101 "end": { 102 "line": 19, 103 "column": 8 104 } 105 } 106 }, 107 "test": { 108 "type": "BinaryExpression", 109 "operator": "<", 110 "left": { 111 "type": "Identifier", 112 "name": "s", 113 "decorators": [], 114 "loc": { 115 "start": { 116 "line": 20, 117 "column": 8 118 }, 119 "end": { 120 "line": 20, 121 "column": 9 122 } 123 } 124 }, 125 "right": { 126 "type": "NumberLiteral", 127 "value": 3, 128 "loc": { 129 "start": { 130 "line": 20, 131 "column": 12 132 }, 133 "end": { 134 "line": 20, 135 "column": 13 136 } 137 } 138 }, 139 "loc": { 140 "start": { 141 "line": 20, 142 "column": 8 143 }, 144 "end": { 145 "line": 20, 146 "column": 13 147 } 148 } 149 }, 150 "loc": { 151 "start": { 152 "line": 18, 153 "column": 1 154 }, 155 "end": { 156 "line": 20, 157 "column": 15 158 } 159 } 160 } 161 ], 162 "loc": { 163 "start": { 164 "line": 1, 165 "column": 1 166 }, 167 "end": { 168 "line": 21, 169 "column": 1 170 } 171 } 172} 173