Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/467/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: 'with' 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": "WithStatement",
32 "start":29,"end":38,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":38,"index":38}},
33 "object": {
34 "type": "Identifier",
35 "start":35,"end":36,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":36,"index":36},"identifierName":"i"},
36 "name": "i"
37 },
38 "body": {
39 "type": "EmptyStatement",
40 "start":37,"end":38,"loc":{"start":{"line":1,"column":37,"index":37},"end":{"line":1,"column":38,"index":38}}
41 }
42 }
43 ],
44 "directives": [
45 {
46 "type": "Directive",
47 "start":15,"end":28,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":28,"index":28}},
48 "value": {
49 "type": "DirectiveLiteral",
50 "start":15,"end":27,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":27,"index":27}},
51 "extra": {
52 "rawValue": "use strict",
53 "raw": "'use strict'",
54 "expressionValue": "use strict"
55 },
56 "value": "use strict"
57 }
58 }
59 ]
60 }
61 },
62 "arguments": [],
63 "extra": {
64 "parenthesized": true,
65 "parenStart": 0
66 }
67 }
68 }
69 ],
70 "directives": []
71 }
72 }