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