Wed, 02 Dec 2015 23:22:21 -0800
Merge
aoqi@0 | 1 | { |
aoqi@0 | 2 | "type": "Program", |
aoqi@0 | 3 | "body": [ |
aoqi@0 | 4 | { |
aoqi@0 | 5 | "type": "WhileStatement", |
aoqi@0 | 6 | "test": { |
aoqi@0 | 7 | "type": "Literal", |
aoqi@0 | 8 | "value": true |
aoqi@0 | 9 | }, |
aoqi@0 | 10 | "body": { |
aoqi@0 | 11 | "type": "BlockStatement", |
aoqi@0 | 12 | "body": [ |
aoqi@0 | 13 | { |
aoqi@0 | 14 | "type": "ExpressionStatement", |
aoqi@0 | 15 | "expression": { |
aoqi@0 | 16 | "type": "CallExpression", |
aoqi@0 | 17 | "callee": { |
aoqi@0 | 18 | "type": "Identifier", |
aoqi@0 | 19 | "name": "print" |
aoqi@0 | 20 | }, |
aoqi@0 | 21 | "arguments": [ |
aoqi@0 | 22 | { |
aoqi@0 | 23 | "type": "Literal", |
aoqi@0 | 24 | "value": "hello" |
aoqi@0 | 25 | } |
aoqi@0 | 26 | ] |
aoqi@0 | 27 | } |
aoqi@0 | 28 | } |
aoqi@0 | 29 | ] |
aoqi@0 | 30 | } |
aoqi@0 | 31 | } |
aoqi@0 | 32 | ] |
aoqi@0 | 33 | } |
aoqi@0 | 34 | { |
aoqi@0 | 35 | "type": "Program", |
aoqi@0 | 36 | "body": [ |
aoqi@0 | 37 | { |
aoqi@0 | 38 | "type": "DoWhileStatement", |
aoqi@0 | 39 | "body": { |
aoqi@0 | 40 | "type": "BlockStatement", |
aoqi@0 | 41 | "body": [ |
aoqi@0 | 42 | { |
aoqi@0 | 43 | "type": "ExpressionStatement", |
aoqi@0 | 44 | "expression": { |
aoqi@0 | 45 | "type": "CallExpression", |
aoqi@0 | 46 | "callee": { |
aoqi@0 | 47 | "type": "Identifier", |
aoqi@0 | 48 | "name": "print" |
aoqi@0 | 49 | }, |
aoqi@0 | 50 | "arguments": [ |
aoqi@0 | 51 | { |
aoqi@0 | 52 | "type": "Literal", |
aoqi@0 | 53 | "value": "hello" |
aoqi@0 | 54 | } |
aoqi@0 | 55 | ] |
aoqi@0 | 56 | } |
aoqi@0 | 57 | } |
aoqi@0 | 58 | ] |
aoqi@0 | 59 | }, |
aoqi@0 | 60 | "test": { |
aoqi@0 | 61 | "type": "Literal", |
aoqi@0 | 62 | "value": true |
aoqi@0 | 63 | } |
aoqi@0 | 64 | } |
aoqi@0 | 65 | ] |
aoqi@0 | 66 | } |
aoqi@0 | 67 | { |
aoqi@0 | 68 | "type": "Program", |
aoqi@0 | 69 | "body": [ |
aoqi@0 | 70 | { |
aoqi@0 | 71 | "type": "ForInStatement", |
aoqi@0 | 72 | "left": { |
aoqi@0 | 73 | "type": "Identifier", |
aoqi@0 | 74 | "name": "i" |
aoqi@0 | 75 | }, |
aoqi@0 | 76 | "right": { |
aoqi@0 | 77 | "type": "Identifier", |
aoqi@0 | 78 | "name": "obj" |
aoqi@0 | 79 | }, |
aoqi@0 | 80 | "body": { |
aoqi@0 | 81 | "type": "BlockStatement", |
aoqi@0 | 82 | "body": [ |
aoqi@0 | 83 | { |
aoqi@0 | 84 | "type": "ExpressionStatement", |
aoqi@0 | 85 | "expression": { |
aoqi@0 | 86 | "type": "CallExpression", |
aoqi@0 | 87 | "callee": { |
aoqi@0 | 88 | "type": "Identifier", |
aoqi@0 | 89 | "name": "print" |
aoqi@0 | 90 | }, |
aoqi@0 | 91 | "arguments": [ |
aoqi@0 | 92 | { |
aoqi@0 | 93 | "type": "MemberExpression", |
aoqi@0 | 94 | "object": { |
aoqi@0 | 95 | "type": "Identifier", |
aoqi@0 | 96 | "name": "obj" |
aoqi@0 | 97 | }, |
aoqi@0 | 98 | "property": { |
aoqi@0 | 99 | "type": "Identifier", |
aoqi@0 | 100 | "name": "i" |
aoqi@0 | 101 | }, |
aoqi@0 | 102 | "computed": true |
aoqi@0 | 103 | } |
aoqi@0 | 104 | ] |
aoqi@0 | 105 | } |
aoqi@0 | 106 | } |
aoqi@0 | 107 | ] |
aoqi@0 | 108 | }, |
aoqi@0 | 109 | "each": false |
aoqi@0 | 110 | } |
aoqi@0 | 111 | ] |
aoqi@0 | 112 | } |
aoqi@0 | 113 | { |
aoqi@0 | 114 | "type": "Program", |
aoqi@0 | 115 | "body": [ |
aoqi@0 | 116 | { |
aoqi@0 | 117 | "type": "ForInStatement", |
aoqi@0 | 118 | "left": { |
aoqi@0 | 119 | "type": "Identifier", |
aoqi@0 | 120 | "name": "i" |
aoqi@0 | 121 | }, |
aoqi@0 | 122 | "right": { |
aoqi@0 | 123 | "type": "Identifier", |
aoqi@0 | 124 | "name": "obj" |
aoqi@0 | 125 | }, |
aoqi@0 | 126 | "body": { |
aoqi@0 | 127 | "type": "BlockStatement", |
aoqi@0 | 128 | "body": [ |
aoqi@0 | 129 | { |
aoqi@0 | 130 | "type": "ExpressionStatement", |
aoqi@0 | 131 | "expression": { |
aoqi@0 | 132 | "type": "CallExpression", |
aoqi@0 | 133 | "callee": { |
aoqi@0 | 134 | "type": "Identifier", |
aoqi@0 | 135 | "name": "print" |
aoqi@0 | 136 | }, |
aoqi@0 | 137 | "arguments": [ |
aoqi@0 | 138 | { |
aoqi@0 | 139 | "type": "Identifier", |
aoqi@0 | 140 | "name": "i" |
aoqi@0 | 141 | } |
aoqi@0 | 142 | ] |
aoqi@0 | 143 | } |
aoqi@0 | 144 | } |
aoqi@0 | 145 | ] |
aoqi@0 | 146 | }, |
aoqi@0 | 147 | "each": true |
aoqi@0 | 148 | } |
aoqi@0 | 149 | ] |
aoqi@0 | 150 | } |
aoqi@0 | 151 | { |
aoqi@0 | 152 | "type": "Program", |
aoqi@0 | 153 | "body": [ |
aoqi@0 | 154 | { |
aoqi@0 | 155 | "type": "ForStatement", |
aoqi@0 | 156 | "init": { |
aoqi@0 | 157 | "type": "AssignmentExpression", |
aoqi@0 | 158 | "operator": "=", |
aoqi@0 | 159 | "left": { |
aoqi@0 | 160 | "type": "Identifier", |
aoqi@0 | 161 | "name": "i" |
aoqi@0 | 162 | }, |
aoqi@0 | 163 | "right": { |
aoqi@0 | 164 | "type": "Literal", |
aoqi@0 | 165 | "value": 0 |
aoqi@0 | 166 | } |
aoqi@0 | 167 | }, |
aoqi@0 | 168 | "test": { |
aoqi@0 | 169 | "type": "BinaryExpression", |
aoqi@0 | 170 | "operator": "<", |
aoqi@0 | 171 | "left": { |
aoqi@0 | 172 | "type": "Identifier", |
aoqi@0 | 173 | "name": "i" |
aoqi@0 | 174 | }, |
aoqi@0 | 175 | "right": { |
aoqi@0 | 176 | "type": "Literal", |
aoqi@0 | 177 | "value": 10 |
aoqi@0 | 178 | } |
aoqi@0 | 179 | }, |
aoqi@0 | 180 | "update": { |
aoqi@0 | 181 | "type": "UpdateExpression", |
aoqi@0 | 182 | "operator": "++", |
aoqi@0 | 183 | "prefix": false, |
aoqi@0 | 184 | "argument": { |
aoqi@0 | 185 | "type": "Identifier", |
aoqi@0 | 186 | "name": "i" |
aoqi@0 | 187 | } |
aoqi@0 | 188 | }, |
aoqi@0 | 189 | "body": { |
aoqi@0 | 190 | "type": "BlockStatement", |
aoqi@0 | 191 | "body": [ |
aoqi@0 | 192 | { |
aoqi@0 | 193 | "type": "ExpressionStatement", |
aoqi@0 | 194 | "expression": { |
aoqi@0 | 195 | "type": "CallExpression", |
aoqi@0 | 196 | "callee": { |
aoqi@0 | 197 | "type": "Identifier", |
aoqi@0 | 198 | "name": "print" |
aoqi@0 | 199 | }, |
aoqi@0 | 200 | "arguments": [ |
aoqi@0 | 201 | { |
aoqi@0 | 202 | "type": "Identifier", |
aoqi@0 | 203 | "name": "i" |
aoqi@0 | 204 | } |
aoqi@0 | 205 | ] |
aoqi@0 | 206 | } |
aoqi@0 | 207 | } |
aoqi@0 | 208 | ] |
aoqi@0 | 209 | } |
aoqi@0 | 210 | } |
aoqi@0 | 211 | ] |
aoqi@0 | 212 | } |