Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/263/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "WithStatement",
12 "start":17,"end":36,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":36,"index":36}},
13 "object": {
14 "type": "Identifier",
15 "start":23,"end":24,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":24,"index":24},"identifierName":"x"},
16 "name": "x"
17 },
18 "body": {
19 "type": "ExpressionStatement",
20 "start":26,"end":36,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":36,"index":36}},
21 "expression": {
22 "type": "AssignmentExpression",
23 "start":26,"end":35,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":35,"index":35}},
24 "operator": "=",
25 "left": {
26 "type": "Identifier",
27 "start":26,"end":29,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":29,"index":29},"identifierName":"foo"},
28 "name": "foo"
29 },
30 "right": {
31 "type": "Identifier",
32 "start":32,"end":35,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":35,"index":35},"identifierName":"bar"},
33 "name": "bar"
34 }
35 }
36 }
37 }
38 ],
39 "directives": [
40 {
41 "type": "Directive",
42 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}},
43 "value": {
44 "type": "DirectiveLiteral",
45 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
46 "extra": {
47 "rawValue": "use\\x20strict",
48 "raw": "'use\\x20strict'",
49 "expressionValue": "use strict"
50 },
51 "value": "use\\x20strict"
52 }
53 }
54 ]
55 }
56 }