Debian Codegraph @

packages/babel-parser/test/fixtures/estree/directives/block/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":63,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":1}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":63,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":1}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":63,"loc":{"start":{"line":1,"column":0},"end":{"line":5,"column":1}},
13 "id": {
14 "type": "Identifier",
15 "start":9,"end":12,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":12},"identifierName":"foo"},
16 "name": "foo"
17 },
18 "generator": false,
19 "async": false,
20 "expression": false,
21 "params": [],
22 "body": {
23 "type": "BlockStatement",
24 "start":15,"end":63,"loc":{"start":{"line":1,"column":15},"end":{"line":5,"column":1}},
25 "body": [
26 {
27 "type": "ExpressionStatement",
28 "start":19,"end":32,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":15}},
29 "expression": {
30 "type": "Literal",
31 "start":19,"end":31,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":14}},
32 "value": "use strict",
33 "raw": "\"use strict\""
34 },
35 "directive": "use strict"
36 },
37 {
38 "type": "VariableDeclaration",
39 "start":35,"end":45,"loc":{"start":{"line":3,"column":2},"end":{"line":3,"column":12}},
40 "declarations": [
41 {
42 "type": "VariableDeclarator",
43 "start":39,"end":44,"loc":{"start":{"line":3,"column":6},"end":{"line":3,"column":11}},
44 "id": {
45 "type": "Identifier",
46 "start":39,"end":40,"loc":{"start":{"line":3,"column":6},"end":{"line":3,"column":7},"identifierName":"a"},
47 "name": "a"
48 },
49 "init": {
50 "type": "Literal",
51 "start":43,"end":44,"loc":{"start":{"line":3,"column":10},"end":{"line":3,"column":11}},
52 "value": 1,
53 "raw": "1"
54 }
55 }
56 ],
57 "kind": "var"
58 },
59 {
60 "type": "ExpressionStatement",
61 "start":48,"end":61,"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":15}},
62 "expression": {
63 "type": "Literal",
64 "start":48,"end":60,"loc":{"start":{"line":4,"column":2},"end":{"line":4,"column":14}},
65 "value": "use strict",
66 "raw": "\"use strict\""
67 }
68 }
69 ]
70 }
71 }
72 ]
73 }
74 }