• 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            "program": "test-enum-declaration1.ts"
15          },
16          "end": {
17            "line": 17,
18            "column": 9,
19            "program": "test-enum-declaration1.ts"
20          }
21        }
22      },
23      "members": [
24        {
25          "type": "TSEnumMember",
26          "id": {
27            "type": "Identifier",
28            "name": "a",
29            "decorators": [],
30            "loc": {
31              "start": {
32                "line": 18,
33                "column": 5,
34                "program": "test-enum-declaration1.ts"
35              },
36              "end": {
37                "line": 18,
38                "column": 6,
39                "program": "test-enum-declaration1.ts"
40              }
41            }
42          },
43          "loc": {
44            "start": {
45              "line": 18,
46              "column": 6,
47              "program": "test-enum-declaration1.ts"
48            },
49            "end": {
50              "line": 18,
51              "column": 7,
52              "program": "test-enum-declaration1.ts"
53            }
54          }
55        },
56        {
57          "type": "TSEnumMember",
58          "id": {
59            "type": "Identifier",
60            "name": "a",
61            "decorators": [],
62            "loc": {
63              "start": {
64                "line": 19,
65                "column": 5,
66                "program": "test-enum-declaration1.ts"
67              },
68              "end": {
69                "line": 19,
70                "column": 6,
71                "program": "test-enum-declaration1.ts"
72              }
73            }
74          },
75          "initializer": {
76            "type": "StringLiteral",
77            "value": "bar",
78            "loc": {
79              "start": {
80                "line": 19,
81                "column": 9,
82                "program": "test-enum-declaration1.ts"
83              },
84              "end": {
85                "line": 19,
86                "column": 14,
87                "program": "test-enum-declaration1.ts"
88              }
89            }
90          },
91          "loc": {
92            "start": {
93              "line": 19,
94              "column": 9,
95              "program": "test-enum-declaration1.ts"
96            },
97            "end": {
98              "line": 19,
99              "column": 15,
100              "program": "test-enum-declaration1.ts"
101            }
102          }
103        }
104      ],
105      "const": false,
106      "declare": false,
107      "loc": {
108        "start": {
109          "line": 17,
110          "column": 1,
111          "program": "test-enum-declaration1.ts"
112        },
113        "end": {
114          "line": 20,
115          "column": 2,
116          "program": "test-enum-declaration1.ts"
117        }
118      }
119    }
120  ],
121  "loc": {
122    "start": {
123      "line": 1,
124      "column": 1,
125      "program": "test-enum-declaration1.ts"
126    },
127    "end": {
128      "line": 21,
129      "column": 1,
130      "program": "test-enum-declaration1.ts"
131    }
132  }
133}
134