| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: Invalid escape sequence in template. (1:23)" |
| 6 | ], |
| 7 | "program": { |
| 8 | "type": "Program", |
| 9 | "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}}, |
| 10 | "sourceType": "script", |
| 11 | "interpreter": null, |
| 12 | "body": [ |
| 13 | { |
| 14 | "type": "ExpressionStatement", |
| 15 | "start":14,"end":27,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":27,"index":27}}, |
| 16 | "expression": { |
| 17 | "type": "TemplateLiteral", |
| 18 | "start":14,"end":26,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":26,"index":26}}, |
| 19 | "expressions": [ |
| 20 | { |
| 21 | "type": "Identifier", |
| 22 | "start":17,"end":21,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":21,"index":21},"identifierName":"test"}, |
| 23 | "name": "test" |
| 24 | } |
| 25 | ], |
| 26 | "quasis": [ |
| 27 | { |
| 28 | "type": "TemplateElement", |
| 29 | "start":15,"end":15,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":15,"index":15}}, |
| 30 | "value": { |
| 31 | "raw": "", |
| 32 | "cooked": "" |
| 33 | }, |
| 34 | "tail": false |
| 35 | }, |
| 36 | { |
| 37 | "type": "TemplateElement", |
| 38 | "start":22,"end":25,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":25,"index":25}}, |
| 39 | "value": { |
| 40 | "raw": "\\02", |
| 41 | "cooked": null |
| 42 | }, |
| 43 | "tail": true |
| 44 | } |
| 45 | ] |
| 46 | } |
| 47 | } |
| 48 | ], |
| 49 | "directives": [ |
| 50 | { |
| 51 | "type": "Directive", |
| 52 | "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}}, |
| 53 | "value": { |
| 54 | "type": "DirectiveLiteral", |
| 55 | "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}}, |
| 56 | "extra": { |
| 57 | "rawValue": "use strict", |
| 58 | "raw": "\"use strict\"", |
| 59 | "expressionValue": "use strict" |
| 60 | }, |
| 61 | "value": "use strict" |
| 62 | } |
| 63 | } |
| 64 | ] |
| 65 | } |
| 66 | } |