• 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          "loc": {
91            "start": {
92              "line": 17,
93              "column": 1
94            },
95            "end": {
96              "line": 19,
97              "column": 2
98            }
99          }
100        },
101        "body": [
102          {
103            "type": "ClassProperty",
104            "key": {
105              "type": "PrivateIdentifier",
106              "prefix": "#",
107              "name": "a",
108              "loc": {
109                "start": {
110                  "line": 18,
111                  "column": 12
112                },
113                "end": {
114                  "line": 18,
115                  "column": 14
116                }
117              }
118            },
119            "static": true,
120            "readonly": false,
121            "declare": false,
122            "optional": false,
123            "computed": false,
124            "decorators": [],
125            "loc": {
126              "start": {
127                "line": 18,
128                "column": 5
129              },
130              "end": {
131                "line": 18,
132                "column": 14
133              }
134            }
135          }
136        ],
137        "indexSignatures": [],
138        "loc": {
139          "start": {
140            "line": 17,
141            "column": 11
142          },
143          "end": {
144            "line": 19,
145            "column": 2
146          }
147        }
148      },
149      "decorators": [],
150      "loc": {
151        "start": {
152          "line": 17,
153          "column": 1
154        },
155        "end": {
156          "line": 19,
157          "column": 2
158        }
159      }
160    }
161  ],
162  "loc": {
163    "start": {
164      "line": 1,
165      "column": 1
166    },
167    "end": {
168      "line": 19,
169      "column": 2
170    }
171  }
172}
173