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