Debian Codegraph @

packages/babel-parser/test/fixtures/core/regression/use-strict-with-pre-semi/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":55}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":55}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":55}},
13 "id": {
14 "type": "Identifier",
15 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"a"},
16 "name": "a"
17 },
18 "generator": false,
19 "async": false,
20 "params": [
21 {
22 "type": "AssignmentPattern",
23 "start":12,"end":20,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":20,"index":20}},
24 "left": {
25 "type": "ArrayPattern",
26 "start":12,"end":15,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":15,"index":15}},
27 "elements": [
28 {
29 "type": "Identifier",
30 "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14},"identifierName":"a"},
31 "name": "a"
32 }
33 ]
34 },
35 "right": {
36 "type": "ArrayExpression",
37 "start":18,"end":20,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":20,"index":20}},
38 "elements": []
39 }
40 }
41 ],
42 "body": {
43 "type": "BlockStatement",
44 "start":22,"end":55,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":3,"column":1,"index":55}},
45 "body": [
46 {
47 "type": "EmptyStatement",
48 "start":25,"end":26,"loc":{"start":{"line":2,"column":1,"index":25},"end":{"line":2,"column":2,"index":26}}
49 },
50 {
51 "type": "ExpressionStatement",
52 "start":27,"end":40,"loc":{"start":{"line":2,"column":3,"index":27},"end":{"line":2,"column":16,"index":40}},
53 "expression": {
54 "type": "StringLiteral",
55 "start":27,"end":39,"loc":{"start":{"line":2,"column":3,"index":27},"end":{"line":2,"column":15,"index":39}},
56 "extra": {
57 "rawValue": "use strict",
58 "raw": "'use strict'"
59 },
60 "value": "use strict"
61 }
62 },
63 {
64 "type": "WithStatement",
65 "start":41,"end":53,"loc":{"start":{"line":2,"column":17,"index":41},"end":{"line":2,"column":29,"index":53}},
66 "object": {
67 "type": "ObjectExpression",
68 "start":47,"end":49,"loc":{"start":{"line":2,"column":23,"index":47},"end":{"line":2,"column":25,"index":49}},
69 "properties": []
70 },
71 "body": {
72 "type": "BlockStatement",
73 "start":51,"end":53,"loc":{"start":{"line":2,"column":27,"index":51},"end":{"line":2,"column":29,"index":53}},
74 "body": [],
75 "directives": []
76 }
77 }
78 ],
79 "directives": []
80 }
81 }
82 ],
83 "directives": []
84 }
85 }