• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "VariableDeclaration",
6      "declarations": [
7        {
8          "type": "VariableDeclarator",
9          "id": {
10            "type": "Identifier",
11            "name": "a",
12            "loc": {
13              "start": {
14                "line": 16,
15                "column": 5
16              },
17              "end": {
18                "line": 16,
19                "column": 6
20              }
21            }
22          },
23          "init": {
24            "type": "NumberLiteral",
25            "value": 1,
26            "loc": {
27              "start": {
28                "line": 16,
29                "column": 9
30              },
31              "end": {
32                "line": 16,
33                "column": 10
34              }
35            }
36          },
37          "loc": {
38            "start": {
39              "line": 16,
40              "column": 5
41            },
42            "end": {
43              "line": 16,
44              "column": 10
45            }
46          }
47        }
48      ],
49      "kind": "let",
50      "loc": {
51        "start": {
52          "line": 16,
53          "column": 1
54        },
55        "end": {
56          "line": 16,
57          "column": 11
58        }
59      }
60    },
61    {
62      "type": "LabelledStatement",
63      "label": {
64        "type": "Identifier",
65        "name": "target1",
66        "loc": {
67          "start": {
68            "line": 17,
69            "column": 1
70          },
71          "end": {
72            "line": 17,
73            "column": 8
74          }
75        }
76      },
77      "body": {
78        "type": "LabelledStatement",
79        "label": {
80          "type": "Identifier",
81          "name": "target2",
82          "loc": {
83            "start": {
84              "line": 18,
85              "column": 1
86            },
87            "end": {
88              "line": 18,
89              "column": 8
90            }
91          }
92        },
93        "body": {
94          "type": "WhileStatement",
95          "test": {
96            "type": "UpdateExpression",
97            "operator": "--",
98            "prefix": false,
99            "argument": {
100              "type": "Identifier",
101              "name": "a",
102              "loc": {
103                "start": {
104                  "line": 19,
105                  "column": 7
106                },
107                "end": {
108                  "line": 19,
109                  "column": 8
110                }
111              }
112            },
113            "loc": {
114              "start": {
115                "line": 19,
116                "column": 7
117              },
118              "end": {
119                "line": 19,
120                "column": 10
121              }
122            }
123          },
124          "body": {
125            "type": "BlockStatement",
126            "statements": [
127              {
128                "type": "ContinueStatement",
129                "label": {
130                  "type": "Identifier",
131                  "name": "target1",
132                  "loc": {
133                    "start": {
134                      "line": 20,
135                      "column": 14
136                    },
137                    "end": {
138                      "line": 20,
139                      "column": 21
140                    }
141                  }
142                },
143                "loc": {
144                  "start": {
145                    "line": 20,
146                    "column": 5
147                  },
148                  "end": {
149                    "line": 20,
150                    "column": 22
151                  }
152                }
153              }
154            ],
155            "loc": {
156              "start": {
157                "line": 19,
158                "column": 12
159              },
160              "end": {
161                "line": 21,
162                "column": 2
163              }
164            }
165          },
166          "loc": {
167            "start": {
168              "line": 19,
169              "column": 1
170            },
171            "end": {
172              "line": 21,
173              "column": 2
174            }
175          }
176        },
177        "loc": {
178          "start": {
179            "line": 18,
180            "column": 1
181          },
182          "end": {
183            "line": 21,
184            "column": 2
185          }
186        }
187      },
188      "loc": {
189        "start": {
190          "line": 17,
191          "column": 1
192        },
193        "end": {
194          "line": 21,
195          "column": 2
196        }
197      }
198    }
199  ],
200  "loc": {
201    "start": {
202      "line": 1,
203      "column": 1
204    },
205    "end": {
206      "line": 21,
207      "column": 2
208    }
209  }
210}
211