• 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": "A",
10          "loc": {
11            "start": {
12              "line": 17,
13              "column": 7
14            },
15            "end": {
16              "line": 17,
17              "column": 8
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": "Identifier",
106              "name": "a",
107              "loc": {
108                "start": {
109                  "line": 18,
110                  "column": 5
111                },
112                "end": {
113                  "line": 18,
114                  "column": 6
115                }
116              }
117            },
118            "value": {
119              "type": "BinaryExpression",
120              "operator": "<",
121              "left": {
122                "type": "NumberLiteral",
123                "value": 1,
124                "loc": {
125                  "start": {
126                    "line": 18,
127                    "column": 9
128                  },
129                  "end": {
130                    "line": 18,
131                    "column": 10
132                  }
133                }
134              },
135              "right": {
136                "type": "CallExpression",
137                "callee": {
138                  "type": "MemberExpression",
139                  "object": {
140                    "type": "NewExpression",
141                    "callee": {
142                      "type": "Identifier",
143                      "name": "Date",
144                      "loc": {
145                        "start": {
146                          "line": 18,
147                          "column": 18
148                        },
149                        "end": {
150                          "line": 18,
151                          "column": 22
152                        }
153                      }
154                    },
155                    "arguments": [],
156                    "loc": {
157                      "start": {
158                        "line": 18,
159                        "column": 14
160                      },
161                      "end": {
162                        "line": 18,
163                        "column": 24
164                      }
165                    }
166                  },
167                  "property": {
168                    "type": "Identifier",
169                    "name": "getTime",
170                    "loc": {
171                      "start": {
172                        "line": 18,
173                        "column": 25
174                      },
175                      "end": {
176                        "line": 18,
177                        "column": 32
178                      }
179                    }
180                  },
181                  "computed": false,
182                  "optional": false,
183                  "loc": {
184                    "start": {
185                      "line": 18,
186                      "column": 14
187                    },
188                    "end": {
189                      "line": 18,
190                      "column": 32
191                    }
192                  }
193                },
194                "arguments": [],
195                "optional": false,
196                "loc": {
197                  "start": {
198                    "line": 18,
199                    "column": 13
200                  },
201                  "end": {
202                    "line": 18,
203                    "column": 35
204                  }
205                }
206              },
207              "loc": {
208                "start": {
209                  "line": 18,
210                  "column": 9
211                },
212                "end": {
213                  "line": 18,
214                  "column": 35
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": 35
232              }
233            }
234          }
235        ],
236        "indexSignatures": [],
237        "loc": {
238          "start": {
239            "line": 17,
240            "column": 9
241          },
242          "end": {
243            "line": 19,
244            "column": 2
245          }
246        }
247      },
248      "decorators": [],
249      "loc": {
250        "start": {
251          "line": 17,
252          "column": 1
253        },
254        "end": {
255          "line": 19,
256          "column": 2
257        }
258      }
259    }
260  ],
261  "loc": {
262    "start": {
263      "line": 1,
264      "column": 1
265    },
266    "end": {
267      "line": 20,
268      "column": 1
269    }
270  }
271}
272