| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: Unexpected keyword 'const'. (1:11)", |
| 6 | "SyntaxError: Unexpected keyword 'if'. (1:18)", |
| 7 | "SyntaxError: Unexpected keyword 'this'. (1:22)" |
| 8 | ], |
| 9 | "program": { |
| 10 | "type": "Program", |
| 11 | "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}}, |
| 12 | "sourceType": "script", |
| 13 | "interpreter": null, |
| 14 | "body": [ |
| 15 | { |
| 16 | "type": "VariableDeclaration", |
| 17 | "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}}, |
| 18 | "declarations": [ |
| 19 | { |
| 20 | "type": "VariableDeclarator", |
| 21 | "start":4,"end":29,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":29,"index":29}}, |
| 22 | "id": { |
| 23 | "type": "Identifier", |
| 24 | "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"x"}, |
| 25 | "name": "x" |
| 26 | }, |
| 27 | "init": { |
| 28 | "type": "ObjectExpression", |
| 29 | "start":9,"end":28,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":28,"index":28}}, |
| 30 | "properties": [ |
| 31 | { |
| 32 | "type": "ObjectProperty", |
| 33 | "start":11,"end":16,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":16,"index":16}}, |
| 34 | "method": false, |
| 35 | "key": { |
| 36 | "type": "Identifier", |
| 37 | "start":11,"end":16,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":16,"index":16},"identifierName":"const"}, |
| 38 | "name": "const" |
| 39 | }, |
| 40 | "computed": false, |
| 41 | "shorthand": true, |
| 42 | "value": { |
| 43 | "type": "Identifier", |
| 44 | "start":11,"end":16,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":16,"index":16},"identifierName":"const"}, |
| 45 | "name": "const" |
| 46 | }, |
| 47 | "extra": { |
| 48 | "shorthand": true |
| 49 | } |
| 50 | }, |
| 51 | { |
| 52 | "type": "ObjectProperty", |
| 53 | "start":18,"end":20,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":20,"index":20}}, |
| 54 | "method": false, |
| 55 | "key": { |
| 56 | "type": "Identifier", |
| 57 | "start":18,"end":20,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":20,"index":20},"identifierName":"if"}, |
| 58 | "name": "if" |
| 59 | }, |
| 60 | "computed": false, |
| 61 | "shorthand": true, |
| 62 | "value": { |
| 63 | "type": "Identifier", |
| 64 | "start":18,"end":20,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":20,"index":20},"identifierName":"if"}, |
| 65 | "name": "if" |
| 66 | }, |
| 67 | "extra": { |
| 68 | "shorthand": true |
| 69 | } |
| 70 | }, |
| 71 | { |
| 72 | "type": "ObjectProperty", |
| 73 | "start":22,"end":26,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":26,"index":26}}, |
| 74 | "method": false, |
| 75 | "key": { |
| 76 | "type": "Identifier", |
| 77 | "start":22,"end":26,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":26,"index":26},"identifierName":"this"}, |
| 78 | "name": "this" |
| 79 | }, |
| 80 | "computed": false, |
| 81 | "shorthand": true, |
| 82 | "value": { |
| 83 | "type": "Identifier", |
| 84 | "start":22,"end":26,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":26,"index":26},"identifierName":"this"}, |
| 85 | "name": "this" |
| 86 | }, |
| 87 | "extra": { |
| 88 | "shorthand": true |
| 89 | } |
| 90 | } |
| 91 | ], |
| 92 | "extra": { |
| 93 | "parenthesized": true, |
| 94 | "parenStart": 8 |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | ], |
| 99 | "kind": "var" |
| 100 | } |
| 101 | ], |
| 102 | "directives": [] |
| 103 | } |
| 104 | } |