Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/invalid-syntax/migrated_0216/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
4 "errors": [
5 "SyntaxError: The only valid numeric escape in strict mode is '\\0'. (1:2)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [],
13 "directives": [
14 {
15 "type": "Directive",
16 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}},
17 "value": {
18 "type": "DirectiveLiteral",
19 "start":0,"end":4,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":4,"index":4}},
20 "extra": {
21 "rawValue": "\\1",
22 "raw": "\"\\1\"",
23 "expressionValue": "\u0001"
24 },
25 "value": "\\1"
26 }
27 },
28 {
29 "type": "Directive",
30 "start":6,"end":19,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":19,"index":19}},
31 "value": {
32 "type": "DirectiveLiteral",
33 "start":6,"end":18,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":18,"index":18}},
34 "extra": {
35 "rawValue": "use strict",
36 "raw": "'use strict'",
37 "expressionValue": "use strict"
38 },
39 "value": "use strict"
40 }
41 }
42 ]
43 }
44 }