Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
13 "expression": {
14 "type": "TaggedTemplateExpression",
15 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
16 "tag": {
17 "type": "Identifier",
18 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3},"identifierName":"raw"},
19 "name": "raw"
20 },
21 "quasi": {
22 "type": "TemplateLiteral",
23 "start":3,"end":18,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":18,"index":18}},
24 "expressions": [
25 {
26 "type": "Identifier",
27 "start":12,"end":16,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":16,"index":16},"identifierName":"name"},
28 "name": "name"
29 }
30 ],
31 "quasis": [
32 {
33 "type": "TemplateElement",
34 "start":4,"end":10,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":10,"index":10}},
35 "value": {
36 "raw": "hello ",
37 "cooked": "hello "
38 },
39 "tail": false
40 },
41 {
42 "type": "TemplateElement",
43 "start":17,"end":17,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":17,"index":17}},
44 "value": {
45 "raw": "",
46 "cooked": ""
47 },
48 "tail": true
49 }
50 ]
51 }
52 }
53 }
54 ],
55 "directives": []
56 }
57 }