Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}},
4 "errors": [
5 "SyntaxError: Deleting local variable in strict mode. (1:29)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}},
16 "expression": {
17 "type": "CallExpression",
18 "start":1,"end":42,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":42,"index":42}},
19 "callee": {
20 "type": "FunctionExpression",
21 "start":1,"end":40,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":40,"index":40}},
22 "id": null,
23 "generator": false,
24 "async": false,
25 "params": [],
26 "body": {
27 "type": "BlockStatement",
28 "start":13,"end":40,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":40,"index":40}},
29 "body": [
30 {
31 "type": "ExpressionStatement",
32 "start":29,"end":38,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":38,"index":38}},
33 "expression": {
34 "type": "UnaryExpression",
35 "start":29,"end":37,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":37,"index":37}},
36 "operator": "delete",
37 "prefix": true,
38 "argument": {
39 "type": "Identifier",
40 "start":36,"end":37,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":37,"index":37},"identifierName":"i"},
41 "name": "i"
42 }
43 }
44 }
45 ],
46 "directives": [
47 {
48 "type": "Directive",
49 "start":15,"end":28,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":28,"index":28}},
50 "value": {
51 "type": "DirectiveLiteral",
52 "start":15,"end":27,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":27,"index":27}},
53 "extra": {
54 "rawValue": "use strict",
55 "raw": "'use strict'",
56 "expressionValue": "use strict"
57 },
58 "value": "use strict"
59 }
60 }
61 ]
62 }
63 },
64 "arguments": [],
65 "extra": {
66 "parenthesized": true,
67 "parenStart": 0
68 }
69 }
70 }
71 ],
72 "directives": []
73 }
74 }