| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: Binding 'static' in strict mode. (1:15)" |
| 6 |
], |
| 7 |
"program": { |
| 8 |
"type": "Program", |
| 9 |
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}}, |
| 10 |
"sourceType": "script", |
| 11 |
"interpreter": null, |
| 12 |
"body": [ |
| 13 |
{ |
| 14 |
"type": "FunctionDeclaration", |
| 15 |
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}}, |
| 16 |
"id": { |
| 17 |
"type": "Identifier", |
| 18 |
"start":9,"end":14,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":14,"index":14},"identifierName":"hello"}, |
| 19 |
"name": "hello" |
| 20 |
}, |
| 21 |
"generator": false, |
| 22 |
"async": false, |
| 23 |
"params": [ |
| 24 |
{ |
| 25 |
"type": "Identifier", |
| 26 |
"start":15,"end":21,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":21,"index":21},"identifierName":"static"}, |
| 27 |
"name": "static" |
| 28 |
} |
| 29 |
], |
| 30 |
"body": { |
| 31 |
"type": "BlockStatement", |
| 32 |
"start":23,"end":40,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":40,"index":40}}, |
| 33 |
"body": [], |
| 34 |
"directives": [ |
| 35 |
{ |
| 36 |
"type": "Directive", |
| 37 |
"start":25,"end":38,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":38,"index":38}}, |
| 38 |
"value": { |
| 39 |
"type": "DirectiveLiteral", |
| 40 |
"start":25,"end":37,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":37,"index":37}}, |
| 41 |
"extra": { |
| 42 |
"rawValue": "use strict", |
| 43 |
"raw": "\"use strict\"", |
| 44 |
"expressionValue": "use strict" |
| 45 |
}, |
| 46 |
"value": "use strict" |
| 47 |
} |
| 48 |
} |
| 49 |
] |
| 50 |
} |
| 51 |
} |
| 52 |
], |
| 53 |
"directives": [] |
| 54 |
} |
| 55 |
} |