1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "TSInterfaceDeclaration", 6 "body": { 7 "type": "TSInterfaceBody", 8 "body": [ 9 { 10 "type": "TSPropertySignature", 11 "computed": false, 12 "optional": false, 13 "readonly": false, 14 "key": { 15 "type": "Identifier", 16 "name": "id", 17 "loc": { 18 "start": { 19 "line": 18, 20 "column": 3 21 }, 22 "end": { 23 "line": 18, 24 "column": 5 25 } 26 } 27 }, 28 "typeAnnotation": { 29 "type": "TSNumberKeyword", 30 "loc": { 31 "start": { 32 "line": 18, 33 "column": 7 34 }, 35 "end": { 36 "line": 18, 37 "column": 13 38 } 39 } 40 }, 41 "loc": { 42 "start": { 43 "line": 18, 44 "column": 3 45 }, 46 "end": { 47 "line": 18, 48 "column": 14 49 } 50 } 51 }, 52 { 53 "type": "TSPropertySignature", 54 "computed": false, 55 "optional": false, 56 "readonly": false, 57 "key": { 58 "type": "Identifier", 59 "name": "name", 60 "loc": { 61 "start": { 62 "line": 19, 63 "column": 3 64 }, 65 "end": { 66 "line": 19, 67 "column": 7 68 } 69 } 70 }, 71 "typeAnnotation": { 72 "type": "TSStringKeyword", 73 "loc": { 74 "start": { 75 "line": 19, 76 "column": 9 77 }, 78 "end": { 79 "line": 19, 80 "column": 15 81 } 82 } 83 }, 84 "loc": { 85 "start": { 86 "line": 19, 87 "column": 3 88 }, 89 "end": { 90 "line": 19, 91 "column": 16 92 } 93 } 94 }, 95 { 96 "type": "TSMethodSignature", 97 "computed": false, 98 "optional": false, 99 "isGetAccessor": true, 100 "isSetAccessor": false, 101 "key": { 102 "type": "Identifier", 103 "name": "gid", 104 "loc": { 105 "start": { 106 "line": 20, 107 "column": 7 108 }, 109 "end": { 110 "line": 20, 111 "column": 10 112 } 113 } 114 }, 115 "params": [], 116 "typeAnnotation": { 117 "type": "TSNumberKeyword", 118 "loc": { 119 "start": { 120 "line": 20, 121 "column": 14 122 }, 123 "end": { 124 "line": 20, 125 "column": 20 126 } 127 } 128 }, 129 "loc": { 130 "start": { 131 "line": 20, 132 "column": 3 133 }, 134 "end": { 135 "line": 20, 136 "column": 21 137 } 138 } 139 }, 140 { 141 "type": "TSMethodSignature", 142 "computed": false, 143 "optional": false, 144 "isGetAccessor": false, 145 "isSetAccessor": true, 146 "key": { 147 "type": "Identifier", 148 "name": "sid", 149 "loc": { 150 "start": { 151 "line": 21, 152 "column": 7 153 }, 154 "end": { 155 "line": 21, 156 "column": 10 157 } 158 } 159 }, 160 "params": [ 161 { 162 "type": "Identifier", 163 "name": "id", 164 "typeAnnotation": { 165 "type": "TSNumberKeyword", 166 "loc": { 167 "start": { 168 "line": 21, 169 "column": 15 170 }, 171 "end": { 172 "line": 21, 173 "column": 21 174 } 175 } 176 }, 177 "loc": { 178 "start": { 179 "line": 21, 180 "column": 11 181 }, 182 "end": { 183 "line": 21, 184 "column": 13 185 } 186 } 187 } 188 ], 189 "loc": { 190 "start": { 191 "line": 21, 192 "column": 3 193 }, 194 "end": { 195 "line": 21, 196 "column": 23 197 } 198 } 199 } 200 ], 201 "loc": { 202 "start": { 203 "line": 17, 204 "column": 15 205 }, 206 "end": { 207 "line": 22, 208 "column": 2 209 } 210 } 211 }, 212 "id": { 213 "type": "Identifier", 214 "name": "Obj", 215 "loc": { 216 "start": { 217 "line": 17, 218 "column": 11 219 }, 220 "end": { 221 "line": 17, 222 "column": 14 223 } 224 } 225 }, 226 "extends": [], 227 "loc": { 228 "start": { 229 "line": 17, 230 "column": 1 231 }, 232 "end": { 233 "line": 22, 234 "column": 2 235 } 236 } 237 } 238 ], 239 "loc": { 240 "start": { 241 "line": 1, 242 "column": 1 243 }, 244 "end": { 245 "line": 24, 246 "column": 1 247 } 248 } 249} 250