| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":76,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":76,"index":76}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: The only valid numeric escape in strict mode is '\\0'. (1:36)", |
| 6 |
"SyntaxError: The only valid numeric escape in strict mode is '\\0'. (1:57)" |
| 7 |
], |
| 8 |
"program": { |
| 9 |
"type": "Program", |
| 10 |
"start":0,"end":76,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":76,"index":76}}, |
| 11 |
"sourceType": "script", |
| 12 |
"interpreter": null, |
| 13 |
"body": [ |
| 14 |
{ |
| 15 |
"type": "FunctionDeclaration", |
| 16 |
"start":0,"end":76,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":76,"index":76}}, |
| 17 |
"id": { |
| 18 |
"type": "Identifier", |
| 19 |
"start":9,"end":14,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":14,"index":14},"identifierName":"hello"}, |
| 20 |
"name": "hello" |
| 21 |
}, |
| 22 |
"generator": false, |
| 23 |
"async": false, |
| 24 |
"params": [], |
| 25 |
"body": { |
| 26 |
"type": "BlockStatement", |
| 27 |
"start":17,"end":76,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":76,"index":76}}, |
| 28 |
"body": [], |
| 29 |
"directives": [ |
| 30 |
{ |
| 31 |
"type": "Directive", |
| 32 |
"start":19,"end":39,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":39,"index":39}}, |
| 33 |
"value": { |
| 34 |
"type": "DirectiveLiteral", |
| 35 |
"start":19,"end":38,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":38,"index":38}}, |
| 36 |
"extra": { |
| 37 |
"rawValue": "octal directive\\1", |
| 38 |
"raw": "\"octal directive\\1\"", |
| 39 |
"expressionValue": "octal directive\u0001" |
| 40 |
}, |
| 41 |
"value": "octal directive\\1" |
| 42 |
} |
| 43 |
}, |
| 44 |
{ |
| 45 |
"type": "Directive", |
| 46 |
"start":40,"end":60,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":60,"index":60}}, |
| 47 |
"value": { |
| 48 |
"type": "DirectiveLiteral", |
| 49 |
"start":40,"end":59,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":59,"index":59}}, |
| 50 |
"extra": { |
| 51 |
"rawValue": "octal directive\\2", |
| 52 |
"raw": "\"octal directive\\2\"", |
| 53 |
"expressionValue": "octal directive\u0002" |
| 54 |
}, |
| 55 |
"value": "octal directive\\2" |
| 56 |
} |
| 57 |
}, |
| 58 |
{ |
| 59 |
"type": "Directive", |
| 60 |
"start":61,"end":74,"loc":{"start":{"line":1,"column":61,"index":61},"end":{"line":1,"column":74,"index":74}}, |
| 61 |
"value": { |
| 62 |
"type": "DirectiveLiteral", |
| 63 |
"start":61,"end":73,"loc":{"start":{"line":1,"column":61,"index":61},"end":{"line":1,"column":73,"index":73}}, |
| 64 |
"extra": { |
| 65 |
"rawValue": "use strict", |
| 66 |
"raw": "\"use strict\"", |
| 67 |
"expressionValue": "use strict" |
| 68 |
}, |
| 69 |
"value": "use strict" |
| 70 |
} |
| 71 |
} |
| 72 |
] |
| 73 |
} |
| 74 |
} |
| 75 |
], |
| 76 |
"directives": [] |
| 77 |
} |
| 78 |
} |