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": "name1", 60 "loc": { 61 "start": { 62 "line": 19, 63 "column": 3 64 }, 65 "end": { 66 "line": 19, 67 "column": 8 68 } 69 } 70 }, 71 "typeAnnotation": { 72 "type": "TSStringKeyword", 73 "loc": { 74 "start": { 75 "line": 19, 76 "column": 10 77 }, 78 "end": { 79 "line": 19, 80 "column": 16 81 } 82 } 83 }, 84 "loc": { 85 "start": { 86 "line": 19, 87 "column": 3 88 }, 89 "end": { 90 "line": 19, 91 "column": 17 92 } 93 } 94 }, 95 { 96 "type": "TSMethodSignature", 97 "computed": false, 98 "optional": true, 99 "isGetAccessor": false, 100 "isSetAccessor": false, 101 "key": { 102 "type": "Identifier", 103 "name": "get", 104 "loc": { 105 "start": { 106 "line": 20, 107 "column": 3 108 }, 109 "end": { 110 "line": 20, 111 "column": 6 112 } 113 } 114 }, 115 "params": [], 116 "typeAnnotation": { 117 "type": "TSNumberKeyword", 118 "loc": { 119 "start": { 120 "line": 20, 121 "column": 11 122 }, 123 "end": { 124 "line": 20, 125 "column": 17 126 } 127 } 128 }, 129 "loc": { 130 "start": { 131 "line": 20, 132 "column": 3 133 }, 134 "end": { 135 "line": 20, 136 "column": 18 137 } 138 } 139 }, 140 { 141 "type": "TSMethodSignature", 142 "computed": false, 143 "optional": false, 144 "isGetAccessor": true, 145 "isSetAccessor": false, 146 "key": { 147 "type": "Identifier", 148 "name": "getname1", 149 "loc": { 150 "start": { 151 "line": 21, 152 "column": 7 153 }, 154 "end": { 155 "line": 21, 156 "column": 15 157 } 158 } 159 }, 160 "params": [], 161 "typeAnnotation": { 162 "type": "TSNumberKeyword", 163 "loc": { 164 "start": { 165 "line": 21, 166 "column": 18 167 }, 168 "end": { 169 "line": 21, 170 "column": 24 171 } 172 } 173 }, 174 "loc": { 175 "start": { 176 "line": 21, 177 "column": 3 178 }, 179 "end": { 180 "line": 21, 181 "column": 25 182 } 183 } 184 } 185 ], 186 "loc": { 187 "start": { 188 "line": 17, 189 "column": 15 190 }, 191 "end": { 192 "line": 22, 193 "column": 2 194 } 195 } 196 }, 197 "id": { 198 "type": "Identifier", 199 "name": "Obj", 200 "loc": { 201 "start": { 202 "line": 17, 203 "column": 11 204 }, 205 "end": { 206 "line": 17, 207 "column": 14 208 } 209 } 210 }, 211 "extends": [], 212 "loc": { 213 "start": { 214 "line": 17, 215 "column": 1 216 }, 217 "end": { 218 "line": 22, 219 "column": 2 220 } 221 } 222 } 223 ], 224 "loc": { 225 "start": { 226 "line": 1, 227 "column": 1 228 }, 229 "end": { 230 "line": 24, 231 "column": 1 232 } 233 } 234} 235