• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "ClassDeclaration",
6      "definition": {
7        "id": {
8          "type": "Identifier",
9          "name": "C1",
10          "loc": {
11            "start": {
12              "line": 17,
13              "column": 7
14            },
15            "end": {
16              "line": 17,
17              "column": 9
18            }
19          }
20        },
21        "superClass": null,
22        "implements": [],
23        "constructor": {
24          "type": "MethodDefinition",
25          "key": {
26            "type": "Identifier",
27            "name": "constructor",
28            "loc": {
29              "start": {
30                "line": 19,
31                "column": 5
32              },
33              "end": {
34                "line": 19,
35                "column": 16
36              }
37            }
38          },
39          "kind": "constructor",
40          "static": false,
41          "optional": false,
42          "computed": false,
43          "value": {
44            "type": "FunctionExpression",
45            "function": {
46              "type": "ScriptFunction",
47              "id": null,
48              "generator": false,
49              "async": false,
50              "expression": false,
51              "params": [],
52              "body": {
53                "type": "BlockStatement",
54                "statements": [
55                  {
56                    "type": "ExpressionStatement",
57                    "expression": {
58                      "type": "AssignmentExpression",
59                      "operator": "=",
60                      "left": {
61                        "type": "MemberExpression",
62                        "object": {
63                          "type": "ThisExpression",
64                          "loc": {
65                            "start": {
66                              "line": 20,
67                              "column": 9
68                            },
69                            "end": {
70                              "line": 20,
71                              "column": 13
72                            }
73                          }
74                        },
75                        "property": {
76                          "type": "PrivateIdentifier",
77                          "prefix": "#",
78                          "name": "b",
79                          "loc": {
80                            "start": {
81                              "line": 20,
82                              "column": 14
83                            },
84                            "end": {
85                              "line": 20,
86                              "column": 16
87                            }
88                          }
89                        },
90                        "computed": false,
91                        "optional": false,
92                        "loc": {
93                          "start": {
94                            "line": 20,
95                            "column": 9
96                          },
97                          "end": {
98                            "line": 20,
99                            "column": 16
100                          }
101                        }
102                      },
103                      "right": {
104                        "type": "NumberLiteral",
105                        "value": 4,
106                        "loc": {
107                          "start": {
108                            "line": 20,
109                            "column": 19
110                          },
111                          "end": {
112                            "line": 20,
113                            "column": 20
114                          }
115                        }
116                      },
117                      "loc": {
118                        "start": {
119                          "line": 20,
120                          "column": 9
121                        },
122                        "end": {
123                          "line": 20,
124                          "column": 20
125                        }
126                      }
127                    },
128                    "loc": {
129                      "start": {
130                        "line": 20,
131                        "column": 9
132                      },
133                      "end": {
134                        "line": 20,
135                        "column": 21
136                      }
137                    }
138                  }
139                ],
140                "loc": {
141                  "start": {
142                    "line": 19,
143                    "column": 19
144                  },
145                  "end": {
146                    "line": 21,
147                    "column": 6
148                  }
149                }
150              },
151              "loc": {
152                "start": {
153                  "line": 19,
154                  "column": 16
155                },
156                "end": {
157                  "line": 21,
158                  "column": 6
159                }
160              }
161            },
162            "loc": {
163              "start": {
164                "line": 19,
165                "column": 16
166              },
167              "end": {
168                "line": 21,
169                "column": 6
170              }
171            }
172          },
173          "overloads": [],
174          "decorators": [],
175          "loc": {
176            "start": {
177              "line": 19,
178              "column": 5
179            },
180            "end": {
181              "line": 21,
182              "column": 6
183            }
184          }
185        },
186        "body": [
187          {
188            "type": "ClassProperty",
189            "key": {
190              "type": "PrivateIdentifier",
191              "prefix": "#",
192              "name": "b",
193              "loc": {
194                "start": {
195                  "line": 18,
196                  "column": 14
197                },
198                "end": {
199                  "line": 18,
200                  "column": 16
201                }
202              }
203            },
204            "value": {
205              "type": "NumberLiteral",
206              "value": 1,
207              "loc": {
208                "start": {
209                  "line": 18,
210                  "column": 19
211                },
212                "end": {
213                  "line": 18,
214                  "column": 20
215                }
216              }
217            },
218            "static": false,
219            "readonly": false,
220            "declare": false,
221            "optional": false,
222            "computed": false,
223            "decorators": [],
224            "loc": {
225              "start": {
226                "line": 18,
227                "column": 5
228              },
229              "end": {
230                "line": 18,
231                "column": 20
232              }
233            }
234          }
235        ],
236        "indexSignatures": [],
237        "loc": {
238          "start": {
239            "line": 17,
240            "column": 10
241          },
242          "end": {
243            "line": 22,
244            "column": 2
245          }
246        }
247      },
248      "decorators": [],
249      "loc": {
250        "start": {
251          "line": 17,
252          "column": 1
253        },
254        "end": {
255          "line": 22,
256          "column": 2
257        }
258      }
259    }
260  ],
261  "loc": {
262    "start": {
263      "line": 1,
264      "column": 1
265    },
266    "end": {
267      "line": 22,
268      "column": 2
269    }
270  }
271}
272