Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/394/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":14,"index":43}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":14,"index":43}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5}},
17 "id": {
18 "type": "Identifier",
19 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"a"},
20 "name": "a"
21 },
22 "init": null
23 }
24 ],
25 "kind": "var"
26 },
27 {
28 "type": "ExpressionStatement",
29 "start":7,"end":16,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":9,"index":16}},
30 "expression": {
31 "type": "AssignmentExpression",
32 "start":7,"end":15,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":8,"index":15}},
33 "operator": "=",
34 "left": {
35 "type": "ParenthesizedExpression",
36 "start":7,"end":10,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":3,"index":10}},
37 "expression": {
38 "type": "Identifier",
39 "start":8,"end":9,"loc":{"start":{"line":2,"column":1,"index":8},"end":{"line":2,"column":2,"index":9},"identifierName":"a"},
40 "name": "a"
41 }
42 },
43 "right": {
44 "type": "ObjectExpression",
45 "start":13,"end":15,"loc":{"start":{"line":2,"column":6,"index":13},"end":{"line":2,"column":8,"index":15}},
46 "properties": []
47 }
48 }
49 },
50 {
51 "type": "ExpressionStatement",
52 "start":17,"end":28,"loc":{"start":{"line":3,"column":0,"index":17},"end":{"line":3,"column":11,"index":28}},
53 "expression": {
54 "type": "AssignmentExpression",
55 "start":17,"end":27,"loc":{"start":{"line":3,"column":0,"index":17},"end":{"line":3,"column":10,"index":27}},
56 "operator": "=",
57 "left": {
58 "type": "ParenthesizedExpression",
59 "start":17,"end":22,"loc":{"start":{"line":3,"column":0,"index":17},"end":{"line":3,"column":5,"index":22}},
60 "expression": {
61 "type": "MemberExpression",
62 "start":18,"end":21,"loc":{"start":{"line":3,"column":1,"index":18},"end":{"line":3,"column":4,"index":21}},
63 "object": {
64 "type": "Identifier",
65 "start":18,"end":19,"loc":{"start":{"line":3,"column":1,"index":18},"end":{"line":3,"column":2,"index":19},"identifierName":"a"},
66 "name": "a"
67 },
68 "computed": false,
69 "property": {
70 "type": "Identifier",
71 "start":20,"end":21,"loc":{"start":{"line":3,"column":3,"index":20},"end":{"line":3,"column":4,"index":21},"identifierName":"b"},
72 "name": "b"
73 }
74 }
75 },
76 "right": {
77 "type": "ObjectExpression",
78 "start":25,"end":27,"loc":{"start":{"line":3,"column":8,"index":25},"end":{"line":3,"column":10,"index":27}},
79 "properties": []
80 }
81 }
82 },
83 {
84 "type": "ExpressionStatement",
85 "start":29,"end":43,"loc":{"start":{"line":4,"column":0,"index":29},"end":{"line":4,"column":14,"index":43}},
86 "expression": {
87 "type": "AssignmentExpression",
88 "start":29,"end":42,"loc":{"start":{"line":4,"column":0,"index":29},"end":{"line":4,"column":13,"index":42}},
89 "operator": "=",
90 "left": {
91 "type": "ParenthesizedExpression",
92 "start":29,"end":37,"loc":{"start":{"line":4,"column":0,"index":29},"end":{"line":4,"column":8,"index":37}},
93 "expression": {
94 "type": "MemberExpression",
95 "start":30,"end":36,"loc":{"start":{"line":4,"column":1,"index":30},"end":{"line":4,"column":7,"index":36}},
96 "object": {
97 "type": "Identifier",
98 "start":30,"end":31,"loc":{"start":{"line":4,"column":1,"index":30},"end":{"line":4,"column":2,"index":31},"identifierName":"a"},
99 "name": "a"
100 },
101 "computed": true,
102 "property": {
103 "type": "StringLiteral",
104 "start":32,"end":35,"loc":{"start":{"line":4,"column":3,"index":32},"end":{"line":4,"column":6,"index":35}},
105 "extra": {
106 "rawValue": "c",
107 "raw": "'c'"
108 },
109 "value": "c"
110 }
111 }
112 },
113 "right": {
114 "type": "ObjectExpression",
115 "start":40,"end":42,"loc":{"start":{"line":4,"column":11,"index":40},"end":{"line":4,"column":13,"index":42}},
116 "properties": []
117 }
118 }
119 }
120 ],
121 "directives": []
122 }
123 }