Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":70,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":70,"index":70}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":70,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":70,"index":70}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":70,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":70,"index":70}},
13 "expression": {
14 "type": "TemplateLiteral",
15 "start":0,"end":70,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":70,"index":70}},
16 "expressions": [
17 {
18 "type": "ObjectExpression",
19 "start":8,"end":20,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":20,"index":20}},
20 "properties": [
21 {
22 "type": "ObjectProperty",
23 "start":9,"end":19,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":19,"index":19}},
24 "method": false,
25 "key": {
26 "type": "Identifier",
27 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"x"},
28 "name": "x"
29 },
30 "computed": false,
31 "shorthand": false,
32 "value": {
33 "type": "ObjectExpression",
34 "start":12,"end":19,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":19,"index":19}},
35 "properties": [
36 {
37 "type": "ObjectProperty",
38 "start":13,"end":18,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":18,"index":18}},
39 "method": false,
40 "key": {
41 "type": "Identifier",
42 "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14},"identifierName":"y"},
43 "name": "y"
44 },
45 "computed": false,
46 "shorthand": false,
47 "value": {
48 "type": "NumericLiteral",
49 "start":16,"end":18,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":18,"index":18}},
50 "extra": {
51 "rawValue": 10,
52 "raw": "10"
53 },
54 "value": 10
55 }
56 }
57 ]
58 }
59 }
60 ]
61 },
62 {
63 "type": "TemplateLiteral",
64 "start":26,"end":65,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":65,"index":65}},
65 "expressions": [
66 {
67 "type": "FunctionExpression",
68 "start":35,"end":56,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":56,"index":56}},
69 "id": null,
70 "generator": false,
71 "async": false,
72 "params": [],
73 "body": {
74 "type": "BlockStatement",
75 "start":45,"end":56,"loc":{"start":{"line":1,"column":45,"index":45},"end":{"line":1,"column":56,"index":56}},
76 "body": [
77 {
78 "type": "ReturnStatement",
79 "start":46,"end":55,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":55,"index":55}},
80 "argument": {
81 "type": "NumericLiteral",
82 "start":53,"end":54,"loc":{"start":{"line":1,"column":53,"index":53},"end":{"line":1,"column":54,"index":54}},
83 "extra": {
84 "rawValue": 1,
85 "raw": "1"
86 },
87 "value": 1
88 }
89 }
90 ],
91 "directives": []
92 }
93 }
94 ],
95 "quasis": [
96 {
97 "type": "TemplateElement",
98 "start":27,"end":33,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":33,"index":33}},
99 "value": {
100 "raw": "nested",
101 "cooked": "nested"
102 },
103 "tail": false
104 },
105 {
106 "type": "TemplateElement",
107 "start":57,"end":64,"loc":{"start":{"line":1,"column":57,"index":57},"end":{"line":1,"column":64,"index":64}},
108 "value": {
109 "raw": "endnest",
110 "cooked": "endnest"
111 },
112 "tail": true
113 }
114 ]
115 }
116 ],
117 "quasis": [
118 {
119 "type": "TemplateElement",
120 "start":1,"end":6,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":6,"index":6}},
121 "value": {
122 "raw": "outer",
123 "cooked": "outer"
124 },
125 "tail": false
126 },
127 {
128 "type": "TemplateElement",
129 "start":21,"end":24,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":24,"index":24}},
130 "value": {
131 "raw": "bar",
132 "cooked": "bar"
133 },
134 "tail": false
135 },
136 {
137 "type": "TemplateElement",
138 "start":66,"end":69,"loc":{"start":{"line":1,"column":66,"index":66},"end":{"line":1,"column":69,"index":69}},
139 "value": {
140 "raw": "end",
141 "cooked": "end"
142 },
143 "tail": true
144 }
145 ]
146 }
147 }
148 ],
149 "directives": []
150 }
151 }