Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":55,"index":55}},
4 "errors": [
5 "SyntaxError: The only valid numeric escape in strict mode is '\\0'. (1:36)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":55,"index":55}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "FunctionDeclaration",
15 "start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":55,"index":55}},
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 "body": {
25 "type": "BlockStatement",
26 "start":17,"end":55,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":55,"index":55}},
27 "body": [],
28 "directives": [
29 {
30 "type": "Directive",
31 "start":19,"end":39,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":39,"index":39}},
32 "value": {
33 "type": "DirectiveLiteral",
34 "start":19,"end":38,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":38,"index":38}},
35 "extra": {
36 "rawValue": "octal directive\\1",
37 "raw": "\"octal directive\\1\"",
38 "expressionValue": "octal directive\u0001"
39 },
40 "value": "octal directive\\1"
41 }
42 },
43 {
44 "type": "Directive",
45 "start":40,"end":53,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":53,"index":53}},
46 "value": {
47 "type": "DirectiveLiteral",
48 "start":40,"end":52,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":52,"index":52}},
49 "extra": {
50 "rawValue": "use strict",
51 "raw": "\"use strict\"",
52 "expressionValue": "use strict"
53 },
54 "value": "use strict"
55 }
56 }
57 ]
58 }
59 }
60 ],
61 "directives": []
62 }
63 }