| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}}, |
| 7 |
"sourceType": "script", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "VariableDeclaration", |
| 12 |
"start":14,"end":43,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":43,"index":43}}, |
| 13 |
"declarations": [ |
| 14 |
{ |
| 15 |
"type": "VariableDeclarator", |
| 16 |
"start":18,"end":43,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":43,"index":43}}, |
| 17 |
"id": { |
| 18 |
"type": "Identifier", |
| 19 |
"start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19},"identifierName":"x"}, |
| 20 |
"name": "x" |
| 21 |
}, |
| 22 |
"init": { |
| 23 |
"type": "ObjectExpression", |
| 24 |
"start":22,"end":43,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":43,"index":43}}, |
| 25 |
"properties": [ |
| 26 |
{ |
| 27 |
"type": "ObjectProperty", |
| 28 |
"start":24,"end":29,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":29,"index":29}}, |
| 29 |
"method": false, |
| 30 |
"key": { |
| 31 |
"type": "Identifier", |
| 32 |
"start":24,"end":25,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":25,"index":25},"identifierName":"i"}, |
| 33 |
"name": "i" |
| 34 |
}, |
| 35 |
"computed": false, |
| 36 |
"shorthand": false, |
| 37 |
"value": { |
| 38 |
"type": "NumericLiteral", |
| 39 |
"start":27,"end":29,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":29,"index":29}}, |
| 40 |
"extra": { |
| 41 |
"rawValue": 42, |
| 42 |
"raw": "42" |
| 43 |
}, |
| 44 |
"value": 42 |
| 45 |
} |
| 46 |
}, |
| 47 |
{ |
| 48 |
"type": "ObjectMethod", |
| 49 |
"start":31,"end":41,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":41,"index":41}}, |
| 50 |
"method": false, |
| 51 |
"key": { |
| 52 |
"type": "Identifier", |
| 53 |
"start":35,"end":36,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":36,"index":36},"identifierName":"i"}, |
| 54 |
"name": "i" |
| 55 |
}, |
| 56 |
"computed": false, |
| 57 |
"kind": "get", |
| 58 |
"id": null, |
| 59 |
"generator": false, |
| 60 |
"async": false, |
| 61 |
"params": [], |
| 62 |
"body": { |
| 63 |
"type": "BlockStatement", |
| 64 |
"start":39,"end":41,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":41,"index":41}}, |
| 65 |
"body": [], |
| 66 |
"directives": [] |
| 67 |
} |
| 68 |
} |
| 69 |
] |
| 70 |
} |
| 71 |
} |
| 72 |
], |
| 73 |
"kind": "var" |
| 74 |
} |
| 75 |
], |
| 76 |
"directives": [ |
| 77 |
{ |
| 78 |
"type": "Directive", |
| 79 |
"start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}}, |
| 80 |
"value": { |
| 81 |
"type": "DirectiveLiteral", |
| 82 |
"start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}}, |
| 83 |
"extra": { |
| 84 |
"rawValue": "use strict", |
| 85 |
"raw": "\"use strict\"", |
| 86 |
"expressionValue": "use strict" |
| 87 |
}, |
| 88 |
"value": "use strict" |
| 89 |
} |
| 90 |
} |
| 91 |
] |
| 92 |
} |
| 93 |
} |