Debian Codegraph @

packages/babel-parser/test/fixtures/core/opts/private-name-tokens-true-babel-7/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 "updateContext": null
58 },
59 "value": "class",
60 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}}
61 },
62 {
63 "type": {
64 "label": "name",
65 "beforeExpr": false,
66 "startsExpr": true,
67 "rightAssociative": false,
68 "isLoop": false,
69 "isAssign": false,
70 "prefix": false,
71 "postfix": false,
72 "binop": null,
73 "updateContext": null
74 },
75 "value": "C",
76 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7}}
77 },
78 {
79 "type": {
80 "label": "{",
81 "beforeExpr": true,
82 "startsExpr": true,
83 "rightAssociative": false,
84 "isLoop": false,
85 "isAssign": false,
86 "prefix": false,
87 "postfix": false,
88 "binop": null
89 },
90 "start":8,"end":9,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":9,"index":9}}
91 },
92 {
93 "type": {
94 "label": "#",
95 "beforeExpr": false,
96 "startsExpr": true,
97 "rightAssociative": false,
98 "isLoop": false,
99 "isAssign": false,
100 "prefix": false,
101 "postfix": false,
102 "binop": null,
103 "updateContext": null
104 },
105 "value": "#",
106 "start":12,"end":13,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":3,"index":13}}
107 },
108 {
109 "type": {
110 "label": "name",
111 "beforeExpr": false,
112 "startsExpr": true,
113 "rightAssociative": false,
114 "isLoop": false,
115 "isAssign": false,
116 "prefix": false,
117 "postfix": false,
118 "binop": null,
119 "updateContext": null
120 },
121 "value": "p",
122 "start":13,"end":14,"loc":{"start":{"line":2,"column":3,"index":13},"end":{"line":2,"column":4,"index":14}}
123 },
124 {
125 "type": {
126 "label": "}",
127 "beforeExpr": false,
128 "startsExpr": false,
129 "rightAssociative": false,
130 "isLoop": false,
131 "isAssign": false,
132 "prefix": false,
133 "postfix": false,
134 "binop": null
135 },
136 "start":15,"end":16,"loc":{"start":{"line":3,"column":0,"index":15},"end":{"line":3,"column":1,"index":16}}
137 },
138 {
139 "type": {
140 "label": "eof",
141 "beforeExpr": false,
142 "startsExpr": false,
143 "rightAssociative": false,
144 "isLoop": false,
145 "isAssign": false,
146 "prefix": false,
147 "postfix": false,
148 "binop": null,
149 "updateContext": null
150 },
151 "start":16,"end":16,"loc":{"start":{"line":3,"column":1,"index":16},"end":{"line":3,"column":1,"index":16}}
152 }
153 ]
154 }