• 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            "decorators": [],
13            "loc": {
14              "start": {
15                "line": 17,
16                "column": 5,
17                "program": "test_object_literal.ts"
18              },
19              "end": {
20                "line": 17,
21                "column": 6,
22                "program": "test_object_literal.ts"
23              }
24            }
25          },
26          "init": {
27            "type": "ObjectExpression",
28            "properties": [
29              {
30                "type": "Property",
31                "method": false,
32                "shorthand": true,
33                "computed": false,
34                "key": {
35                  "type": "Identifier",
36                  "name": "a",
37                  "decorators": [],
38                  "loc": {
39                    "start": {
40                      "line": 17,
41                      "column": 11,
42                      "program": "test_object_literal.ts"
43                    },
44                    "end": {
45                      "line": 17,
46                      "column": 12,
47                      "program": "test_object_literal.ts"
48                    }
49                  }
50                },
51                "value": {
52                  "type": "Identifier",
53                  "name": "a",
54                  "decorators": [],
55                  "loc": {
56                    "start": {
57                      "line": 17,
58                      "column": 11,
59                      "program": "test_object_literal.ts"
60                    },
61                    "end": {
62                      "line": 17,
63                      "column": 12,
64                      "program": "test_object_literal.ts"
65                    }
66                  }
67                },
68                "kind": "init",
69                "loc": {
70                  "start": {
71                    "line": 17,
72                    "column": 11,
73                    "program": "test_object_literal.ts"
74                  },
75                  "end": {
76                    "line": 17,
77                    "column": 12,
78                    "program": "test_object_literal.ts"
79                  }
80                }
81              },
82              {
83                "type": "Property",
84                "method": false,
85                "shorthand": true,
86                "computed": false,
87                "key": {
88                  "type": "StringLiteral",
89                  "value": "b",
90                  "loc": {
91                    "start": {
92                      "line": 17,
93                      "column": 14,
94                      "program": "test_object_literal.ts"
95                    },
96                    "end": {
97                      "line": 17,
98                      "column": 17,
99                      "program": "test_object_literal.ts"
100                    }
101                  }
102                },
103                "value": {
104                  "type": "NumberLiteral",
105                  "value": 6,
106                  "loc": {
107                    "start": {
108                      "line": 17,
109                      "column": 19,
110                      "program": "test_object_literal.ts"
111                    },
112                    "end": {
113                      "line": 17,
114                      "column": 20,
115                      "program": "test_object_literal.ts"
116                    }
117                  }
118                },
119                "kind": "init",
120                "loc": {
121                  "start": {
122                    "line": 17,
123                    "column": 14,
124                    "program": "test_object_literal.ts"
125                  },
126                  "end": {
127                    "line": 17,
128                    "column": 20,
129                    "program": "test_object_literal.ts"
130                  }
131                }
132              },
133              {
134                "type": "Property",
135                "method": false,
136                "shorthand": true,
137                "computed": false,
138                "key": {
139                  "type": "Identifier",
140                  "name": "c",
141                  "decorators": [],
142                  "loc": {
143                    "start": {
144                      "line": 17,
145                      "column": 22,
146                      "program": "test_object_literal.ts"
147                    },
148                    "end": {
149                      "line": 17,
150                      "column": 23,
151                      "program": "test_object_literal.ts"
152                    }
153                  }
154                },
155                "value": {
156                  "type": "Identifier",
157                  "name": "c",
158                  "decorators": [],
159                  "loc": {
160                    "start": {
161                      "line": 17,
162                      "column": 22,
163                      "program": "test_object_literal.ts"
164                    },
165                    "end": {
166                      "line": 17,
167                      "column": 23,
168                      "program": "test_object_literal.ts"
169                    }
170                  }
171                },
172                "kind": "init",
173                "loc": {
174                  "start": {
175                    "line": 17,
176                    "column": 22,
177                    "program": "test_object_literal.ts"
178                  },
179                  "end": {
180                    "line": 17,
181                    "column": 23,
182                    "program": "test_object_literal.ts"
183                  }
184                }
185              },
186              {
187                "type": "Property",
188                "method": false,
189                "shorthand": true,
190                "computed": false,
191                "key": {
192                  "type": "Identifier",
193                  "name": "d",
194                  "decorators": [],
195                  "loc": {
196                    "start": {
197                      "line": 17,
198                      "column": 25,
199                      "program": "test_object_literal.ts"
200                    },
201                    "end": {
202                      "line": 17,
203                      "column": 26,
204                      "program": "test_object_literal.ts"
205                    }
206                  }
207                },
208                "value": {
209                  "type": "Identifier",
210                  "name": "d",
211                  "decorators": [],
212                  "loc": {
213                    "start": {
214                      "line": 17,
215                      "column": 25,
216                      "program": "test_object_literal.ts"
217                    },
218                    "end": {
219                      "line": 17,
220                      "column": 26,
221                      "program": "test_object_literal.ts"
222                    }
223                  }
224                },
225                "kind": "init",
226                "loc": {
227                  "start": {
228                    "line": 17,
229                    "column": 25,
230                    "program": "test_object_literal.ts"
231                  },
232                  "end": {
233                    "line": 17,
234                    "column": 26,
235                    "program": "test_object_literal.ts"
236                  }
237                }
238              }
239            ],
240            "loc": {
241              "start": {
242                "line": 17,
243                "column": 9,
244                "program": "test_object_literal.ts"
245              },
246              "end": {
247                "line": 17,
248                "column": 28,
249                "program": "test_object_literal.ts"
250              }
251            }
252          },
253          "loc": {
254            "start": {
255              "line": 17,
256              "column": 5,
257              "program": "test_object_literal.ts"
258            },
259            "end": {
260              "line": 17,
261              "column": 28,
262              "program": "test_object_literal.ts"
263            }
264          }
265        }
266      ],
267      "kind": "let",
268      "loc": {
269        "start": {
270          "line": 17,
271          "column": 1,
272          "program": "test_object_literal.ts"
273        },
274        "end": {
275          "line": 17,
276          "column": 28,
277          "program": "test_object_literal.ts"
278        }
279      }
280    }
281  ],
282  "loc": {
283    "start": {
284      "line": 1,
285      "column": 1,
286      "program": "test_object_literal.ts"
287    },
288    "end": {
289      "line": 18,
290      "column": 1,
291      "program": "test_object_literal.ts"
292    }
293  }
294}
295