Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/decimal/decimal-as-property-name/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":75,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":75,"index":75}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":75,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":75,"index":75}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":75,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":75,"index":75}},
13 "expression": {
14 "type": "ObjectExpression",
15 "start":1,"end":73,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":73,"index":73}},
16 "properties": [
17 {
18 "type": "ObjectProperty",
19 "start":3,"end":8,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":8,"index":8}},
20 "method": false,
21 "key": {
22 "type": "DecimalLiteral",
23 "start":3,"end":5,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":5,"index":5}},
24 "extra": {
25 "rawValue": "0",
26 "raw": "0m"
27 },
28 "value": "0"
29 },
30 "computed": false,
31 "shorthand": false,
32 "value": {
33 "type": "NumericLiteral",
34 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8}},
35 "extra": {
36 "rawValue": 0,
37 "raw": "0"
38 },
39 "value": 0
40 }
41 },
42 {
43 "type": "ObjectMethod",
44 "start":10,"end":18,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":18,"index":18}},
45 "method": true,
46 "key": {
47 "type": "DecimalLiteral",
48 "start":10,"end":13,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":13,"index":13}},
49 "extra": {
50 "rawValue": ".1",
51 "raw": ".1m"
52 },
53 "value": ".1"
54 },
55 "computed": false,
56 "kind": "method",
57 "id": null,
58 "generator": false,
59 "async": false,
60 "params": [],
61 "body": {
62 "type": "BlockStatement",
63 "start":16,"end":18,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":18,"index":18}},
64 "body": [],
65 "directives": []
66 }
67 },
68 {
69 "type": "ObjectMethod",
70 "start":20,"end":32,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":32,"index":32}},
71 "method": false,
72 "key": {
73 "type": "DecimalLiteral",
74 "start":24,"end":28,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":28,"index":28}},
75 "extra": {
76 "rawValue": "0.2",
77 "raw": "0.2m"
78 },
79 "value": "0.2"
80 },
81 "computed": false,
82 "kind": "get",
83 "id": null,
84 "generator": false,
85 "async": false,
86 "params": [],
87 "body": {
88 "type": "BlockStatement",
89 "start":30,"end":32,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":32,"index":32}},
90 "body": [],
91 "directives": []
92 }
93 },
94 {
95 "type": "ObjectMethod",
96 "start":34,"end":45,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":45,"index":45}},
97 "method": false,
98 "key": {
99 "type": "DecimalLiteral",
100 "start":38,"end":40,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":40,"index":40}},
101 "extra": {
102 "rawValue": "3",
103 "raw": "3m"
104 },
105 "value": "3"
106 },
107 "computed": false,
108 "kind": "set",
109 "id": null,
110 "generator": false,
111 "async": false,
112 "params": [
113 {
114 "type": "Identifier",
115 "start":41,"end":42,"loc":{"start":{"line":1,"column":41,"index":41},"end":{"line":1,"column":42,"index":42},"identifierName":"_"},
116 "name": "_"
117 }
118 ],
119 "body": {
120 "type": "BlockStatement",
121 "start":43,"end":45,"loc":{"start":{"line":1,"column":43,"index":43},"end":{"line":1,"column":45,"index":45}},
122 "body": [],
123 "directives": []
124 }
125 },
126 {
127 "type": "ObjectMethod",
128 "start":47,"end":60,"loc":{"start":{"line":1,"column":47,"index":47},"end":{"line":1,"column":60,"index":60}},
129 "method": true,
130 "key": {
131 "type": "DecimalLiteral",
132 "start":53,"end":55,"loc":{"start":{"line":1,"column":53,"index":53},"end":{"line":1,"column":55,"index":55}},
133 "extra": {
134 "rawValue": "4",
135 "raw": "4m"
136 },
137 "value": "4"
138 },
139 "computed": false,
140 "kind": "method",
141 "id": null,
142 "generator": false,
143 "async": true,
144 "params": [],
145 "body": {
146 "type": "BlockStatement",
147 "start":58,"end":60,"loc":{"start":{"line":1,"column":58,"index":58},"end":{"line":1,"column":60,"index":60}},
148 "body": [],
149 "directives": []
150 }
151 },
152 {
153 "type": "ObjectMethod",
154 "start":62,"end":71,"loc":{"start":{"line":1,"column":62,"index":62},"end":{"line":1,"column":71,"index":71}},
155 "method": true,
156 "key": {
157 "type": "DecimalLiteral",
158 "start":63,"end":66,"loc":{"start":{"line":1,"column":63,"index":63},"end":{"line":1,"column":66,"index":66}},
159 "extra": {
160 "rawValue": ".5",
161 "raw": ".5m"
162 },
163 "value": ".5"
164 },
165 "computed": false,
166 "kind": "method",
167 "id": null,
168 "generator": true,
169 "async": false,
170 "params": [],
171 "body": {
172 "type": "BlockStatement",
173 "start":69,"end":71,"loc":{"start":{"line":1,"column":69,"index":69},"end":{"line":1,"column":71,"index":71}},
174 "body": [],
175 "directives": []
176 }
177 }
178 ],
179 "extra": {
180 "parenthesized": true,
181 "parenStart": 0
182 }
183 }
184 }
185 ],
186 "directives": []
187 }
188 }