1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "ETSGLOBAL", 10 "decorators": [], 11 "loc": { 12 "start": { 13 "line": 1, 14 "column": 1 15 }, 16 "end": { 17 "line": 1, 18 "column": 1 19 } 20 } 21 }, 22 "superClass": null, 23 "implements": [], 24 "body": [ 25 { 26 "type": "MethodDefinition", 27 "key": { 28 "type": "Identifier", 29 "name": "_$init$_", 30 "decorators": [], 31 "loc": { 32 "start": { 33 "line": 1, 34 "column": 1 35 }, 36 "end": { 37 "line": 1, 38 "column": 1 39 } 40 } 41 }, 42 "kind": "method", 43 "accessibility": "public", 44 "static": true, 45 "optional": false, 46 "computed": false, 47 "value": { 48 "type": "FunctionExpression", 49 "function": { 50 "type": "ScriptFunction", 51 "id": { 52 "type": "Identifier", 53 "name": "_$init$_", 54 "decorators": [], 55 "loc": { 56 "start": { 57 "line": 1, 58 "column": 1 59 }, 60 "end": { 61 "line": 1, 62 "column": 1 63 } 64 } 65 }, 66 "generator": false, 67 "async": false, 68 "expression": false, 69 "params": [], 70 "body": { 71 "type": "BlockStatement", 72 "statements": [], 73 "loc": { 74 "start": { 75 "line": 1, 76 "column": 1 77 }, 78 "end": { 79 "line": 1, 80 "column": 1 81 } 82 } 83 }, 84 "loc": { 85 "start": { 86 "line": 1, 87 "column": 1 88 }, 89 "end": { 90 "line": 1, 91 "column": 1 92 } 93 } 94 }, 95 "loc": { 96 "start": { 97 "line": 1, 98 "column": 1 99 }, 100 "end": { 101 "line": 1, 102 "column": 1 103 } 104 } 105 }, 106 "overloads": [], 107 "decorators": [], 108 "loc": { 109 "start": { 110 "line": 1, 111 "column": 1 112 }, 113 "end": { 114 "line": 1, 115 "column": 1 116 } 117 } 118 }, 119 { 120 "type": "MethodDefinition", 121 "key": { 122 "type": "Identifier", 123 "name": "foo", 124 "decorators": [], 125 "loc": { 126 "start": { 127 "line": 16, 128 "column": 18 129 }, 130 "end": { 131 "line": 16, 132 "column": 21 133 } 134 } 135 }, 136 "kind": "method", 137 "accessibility": "public", 138 "static": true, 139 "optional": false, 140 "computed": false, 141 "value": { 142 "type": "FunctionExpression", 143 "function": { 144 "type": "ScriptFunction", 145 "id": { 146 "type": "Identifier", 147 "name": "foo", 148 "decorators": [], 149 "loc": { 150 "start": { 151 "line": 16, 152 "column": 18 153 }, 154 "end": { 155 "line": 16, 156 "column": 21 157 } 158 } 159 }, 160 "generator": false, 161 "async": false, 162 "expression": false, 163 "params": [ 164 { 165 "type": "ETSParameterExpression", 166 "name": { 167 "type": "Identifier", 168 "name": "p", 169 "typeAnnotation": { 170 "type": "ETSTypeReference", 171 "part": { 172 "type": "ETSTypeReferencePart", 173 "name": { 174 "type": "Identifier", 175 "name": "string", 176 "decorators": [], 177 "loc": { 178 "start": { 179 "line": 16, 180 "column": 25 181 }, 182 "end": { 183 "line": 16, 184 "column": 31 185 } 186 } 187 }, 188 "loc": { 189 "start": { 190 "line": 16, 191 "column": 25 192 }, 193 "end": { 194 "line": 16, 195 "column": 32 196 } 197 } 198 }, 199 "loc": { 200 "start": { 201 "line": 16, 202 "column": 25 203 }, 204 "end": { 205 "line": 16, 206 "column": 32 207 } 208 } 209 }, 210 "decorators": [], 211 "loc": { 212 "start": { 213 "line": 16, 214 "column": 22 215 }, 216 "end": { 217 "line": 16, 218 "column": 32 219 } 220 } 221 }, 222 "loc": { 223 "start": { 224 "line": 16, 225 "column": 22 226 }, 227 "end": { 228 "line": 16, 229 "column": 32 230 } 231 } 232 } 233 ], 234 "returnType": { 235 "type": "ETSPrimitiveType", 236 "loc": { 237 "start": { 238 "line": 16, 239 "column": 34 240 }, 241 "end": { 242 "line": 16, 243 "column": 38 244 } 245 } 246 }, 247 "declare": true, 248 "loc": { 249 "start": { 250 "line": 16, 251 "column": 21 252 }, 253 "end": { 254 "line": 16, 255 "column": 21 256 } 257 } 258 }, 259 "loc": { 260 "start": { 261 "line": 16, 262 "column": 21 263 }, 264 "end": { 265 "line": 16, 266 "column": 21 267 } 268 } 269 }, 270 "overloads": [], 271 "decorators": [], 272 "loc": { 273 "start": { 274 "line": 16, 275 "column": 1 276 }, 277 "end": { 278 "line": 16, 279 "column": 21 280 } 281 } 282 } 283 ], 284 "loc": { 285 "start": { 286 "line": 1, 287 "column": 1 288 }, 289 "end": { 290 "line": 1, 291 "column": 1 292 } 293 } 294 }, 295 "loc": { 296 "start": { 297 "line": 1, 298 "column": 1 299 }, 300 "end": { 301 "line": 1, 302 "column": 1 303 } 304 } 305 } 306 ], 307 "loc": { 308 "start": { 309 "line": 1, 310 "column": 1 311 }, 312 "end": { 313 "line": 17, 314 "column": 1 315 } 316 } 317} 318