Debian Codegraph @

packages/babel-parser/test/fixtures/core/opts/private-name-tokens-true/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":16}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":16}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ClassDeclaration",
12 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":16}},
13 "id": {
14 "type": "Identifier",
15 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"C"},
16 "name": "C"
17 },
18 "superClass": null,
19 "body": {
20 "type": "ClassBody",
21 "start":8,"end":16,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":3,"column":1,"index":16}},
22 "body": [
23 {
24 "type": "ClassPrivateProperty",
25 "start":12,"end":14,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":4,"index":14}},
26 "static": false,
27 "key": {
28 "type": "PrivateName",
29 "start":12,"end":14,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":4,"index":14}},
30 "id": {
31 "type": "Identifier",
32 "start":13,"end":14,"loc":{"start":{"line":2,"column":3,"index":13},"end":{"line":2,"column":4,"index":14},"identifierName":"p"},
33 "name": "p"
34 }
35 },
36 "value": null
37 }
38 ]
39 }
40 }
41 ],
42 "directives": []
43 },
44 "tokens": [
45 {
46 "type": {
47 "label": "class",
48 "keyword": "class",
49 "beforeExpr": false,
50 "startsExpr": true,
51 "rightAssociative": false,
52 "isLoop": false,
53 "isAssign": false,
54 "prefix": false,
55 "postfix": false,
56 "binop": null
57 },
58 "value": "class",
59 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}}
60 },
61 {
62 "type": {
63 "label": "name",
64 "beforeExpr": false,
65 "startsExpr": true,
66 "rightAssociative": false,
67 "isLoop": false,
68 "isAssign": false,
69 "prefix": false,
70 "postfix": false,
71 "binop": null
72 },
73 "value": "C",
74 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7}}
75 },
76 {
77 "type": {
78 "label": "{",
79 "beforeExpr": true,
80 "startsExpr": true,
81 "rightAssociative": false,
82 "isLoop": false,
83 "isAssign": false,
84 "prefix": false,
85 "postfix": false,
86 "binop": null
87 },
88 "start":8,"end":9,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":9,"index":9}}
89 },
90 {
91 "type": {
92 "label": "#name",
93 "beforeExpr": false,
94 "startsExpr": true,
95 "rightAssociative": false,
96 "isLoop": false,
97 "isAssign": false,
98 "prefix": false,
99 "postfix": false,
100 "binop": null
101 },
102 "value": "p",
103 "start":12,"end":14,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":4,"index":14}}
104 },
105 {
106 "type": {
107 "label": "}",
108 "beforeExpr": false,
109 "startsExpr": false,
110 "rightAssociative": false,
111 "isLoop": false,
112 "isAssign": false,
113 "prefix": false,
114 "postfix": false,
115 "binop": null
116 },
117 "start":15,"end":16,"loc":{"start":{"line":3,"column":0,"index":15},"end":{"line":3,"column":1,"index":16}}
118 },
119 {
120 "type": {
121 "label": "eof",
122 "beforeExpr": false,
123 "startsExpr": false,
124 "rightAssociative": false,
125 "isLoop": false,
126 "isAssign": false,
127 "prefix": false,
128 "postfix": false,
129 "binop": null
130 },
131 "start":16,"end":16,"loc":{"start":{"line":3,"column":1,"index":16},"end":{"line":3,"column":1,"index":16}}
132 }
133 ]
134 }