• 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": "Foo",
10          "loc": {
11            "start": {
12              "line": 17,
13              "column": 7
14            },
15            "end": {
16              "line": 17,
17              "column": 10
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": 1,
31                "column": 1
32              },
33              "end": {
34                "line": 1,
35                "column": 1
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                "loc": {
56                  "start": {
57                    "line": 1,
58                    "column": 1
59                  },
60                  "end": {
61                    "line": 1,
62                    "column": 1
63                  }
64                }
65              },
66              "loc": {
67                "start": {
68                  "line": 1,
69                  "column": 1
70                },
71                "end": {
72                  "line": 1,
73                  "column": 1
74                }
75              }
76            },
77            "loc": {
78              "start": {
79                "line": 1,
80                "column": 1
81              },
82              "end": {
83                "line": 1,
84                "column": 1
85              }
86            }
87          },
88          "overloads": [],
89          "decorators": [],
90          "annotations": [],
91          "loc": {
92            "start": {
93              "line": 17,
94              "column": 1
95            },
96            "end": {
97              "line": 19,
98              "column": 2
99            }
100          }
101        },
102        "body": [
103          {
104            "type": "ClassProperty",
105            "key": {
106              "type": "PrivateIdentifier",
107              "prefix": "#",
108              "name": "a",
109              "loc": {
110                "start": {
111                  "line": 18,
112                  "column": 12
113                },
114                "end": {
115                  "line": 18,
116                  "column": 14
117                }
118              }
119            },
120            "static": true,
121            "readonly": false,
122            "declare": false,
123            "optional": false,
124            "computed": false,
125            "decorators": [],
126            "loc": {
127              "start": {
128                "line": 18,
129                "column": 5
130              },
131              "end": {
132                "line": 18,
133                "column": 14
134              }
135            }
136          }
137        ],
138        "indexSignatures": [],
139        "loc": {
140          "start": {
141            "line": 17,
142            "column": 11
143          },
144          "end": {
145            "line": 19,
146            "column": 2
147          }
148        }
149      },
150      "decorators": [],
151      "isAnnotationDeclaration": false,
152      "loc": {
153        "start": {
154          "line": 17,
155          "column": 1
156        },
157        "end": {
158          "line": 19,
159          "column": 2
160        }
161      }
162    }
163  ],
164  "loc": {
165    "start": {
166      "line": 1,
167      "column": 1
168    },
169    "end": {
170      "line": 19,
171      "column": 2
172    }
173  }
174}
175