1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "TSEnumDeclaration", 6 "id": { 7 "type": "Identifier", 8 "name": "A", 9 "decorators": [], 10 "loc": { 11 "start": { 12 "line": 17, 13 "column": 6 14 }, 15 "end": { 16 "line": 17, 17 "column": 7 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": 19, 42 "column": 1 43 }, 44 "end": { 45 "line": 19, 46 "column": 2 47 } 48 } 49 } 50 ], 51 "const": false, 52 "declare": false, 53 "loc": { 54 "start": { 55 "line": 17, 56 "column": 1 57 }, 58 "end": { 59 "line": 19, 60 "column": 2 61 } 62 } 63 }, 64 { 65 "type": "TSInterfaceDeclaration", 66 "body": { 67 "type": "TSInterfaceBody", 68 "body": [ 69 { 70 "type": "TSPropertySignature", 71 "computed": false, 72 "optional": false, 73 "readonly": false, 74 "key": { 75 "type": "Identifier", 76 "name": "a", 77 "decorators": [], 78 "loc": { 79 "start": { 80 "line": 22, 81 "column": 5 82 }, 83 "end": { 84 "line": 22, 85 "column": 6 86 } 87 } 88 }, 89 "typeAnnotation": { 90 "type": "TSTypeReference", 91 "typeName": { 92 "type": "TSQualifiedName", 93 "left": { 94 "type": "Identifier", 95 "name": "A", 96 "decorators": [], 97 "loc": { 98 "start": { 99 "line": 22, 100 "column": 8 101 }, 102 "end": { 103 "line": 22, 104 "column": 9 105 } 106 } 107 }, 108 "right": { 109 "type": "Identifier", 110 "name": "a", 111 "decorators": [], 112 "loc": { 113 "start": { 114 "line": 22, 115 "column": 10 116 }, 117 "end": { 118 "line": 22, 119 "column": 11 120 } 121 } 122 }, 123 "loc": { 124 "start": { 125 "line": 22, 126 "column": 8 127 }, 128 "end": { 129 "line": 23, 130 "column": 2 131 } 132 } 133 }, 134 "loc": { 135 "start": { 136 "line": 22, 137 "column": 8 138 }, 139 "end": { 140 "line": 23, 141 "column": 2 142 } 143 } 144 }, 145 "loc": { 146 "start": { 147 "line": 22, 148 "column": 5 149 }, 150 "end": { 151 "line": 23, 152 "column": 2 153 } 154 } 155 } 156 ], 157 "loc": { 158 "start": { 159 "line": 21, 160 "column": 13 161 }, 162 "end": { 163 "line": 23, 164 "column": 2 165 } 166 } 167 }, 168 "id": { 169 "type": "Identifier", 170 "name": "B", 171 "decorators": [], 172 "loc": { 173 "start": { 174 "line": 21, 175 "column": 11 176 }, 177 "end": { 178 "line": 21, 179 "column": 12 180 } 181 } 182 }, 183 "extends": [], 184 "loc": { 185 "start": { 186 "line": 21, 187 "column": 1 188 }, 189 "end": { 190 "line": 23, 191 "column": 2 192 } 193 } 194 } 195 ], 196 "loc": { 197 "start": { 198 "line": 1, 199 "column": 1 200 }, 201 "end": { 202 "line": 24, 203 "column": 1 204 } 205 } 206} 207