• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "TSEnumDeclaration",
6      "id": {
7        "type": "Identifier",
8        "name": "foo",
9        "decorators": [],
10        "loc": {
11          "start": {
12            "line": 17,
13            "column": 6
14          },
15          "end": {
16            "line": 17,
17            "column": 9
18          }
19        }
20      },
21      "members": [
22        {
23          "type": "TSEnumMember",
24          "id": {
25            "type": "Identifier",
26            "name": "a",
27            "decorators": [],
28            "loc": {
29              "start": {
30                "line": 18,
31                "column": 5
32              },
33              "end": {
34                "line": 18,
35                "column": 6
36              }
37            }
38          },
39          "loc": {
40            "start": {
41              "line": 18,
42              "column": 6
43            },
44            "end": {
45              "line": 18,
46              "column": 7
47            }
48          }
49        },
50        {
51          "type": "TSEnumMember",
52          "id": {
53            "type": "Identifier",
54            "name": "a",
55            "decorators": [],
56            "loc": {
57              "start": {
58                "line": 19,
59                "column": 5
60              },
61              "end": {
62                "line": 19,
63                "column": 6
64              }
65            }
66          },
67          "initializer": {
68            "type": "StringLiteral",
69            "value": "bar",
70            "loc": {
71              "start": {
72                "line": 19,
73                "column": 9
74              },
75              "end": {
76                "line": 19,
77                "column": 14
78              }
79            }
80          },
81          "loc": {
82            "start": {
83              "line": 19,
84              "column": 9
85            },
86            "end": {
87              "line": 19,
88              "column": 15
89            }
90          }
91        }
92      ],
93      "const": false,
94      "loc": {
95        "start": {
96          "line": 17,
97          "column": 1
98        },
99        "end": {
100          "line": 20,
101          "column": 2
102        }
103      }
104    }
105  ],
106  "loc": {
107    "start": {
108      "line": 1,
109      "column": 1
110    },
111    "end": {
112      "line": 21,
113      "column": 1
114    }
115  }
116}
117