1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "NamespaceDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "NAME", 10 "decorators": [], 11 "loc": { 12 "start": { 13 "line": 16, 14 "column": 19 15 }, 16 "end": { 17 "line": 16, 18 "column": 23 19 } 20 } 21 }, 22 "body": [ 23 { 24 "type": "MethodDefinition", 25 "key": { 26 "type": "Identifier", 27 "name": "foo", 28 "decorators": [], 29 "loc": { 30 "start": { 31 "line": 17, 32 "column": 5 33 }, 34 "end": { 35 "line": 17, 36 "column": 8 37 } 38 } 39 }, 40 "kind": "method", 41 "accessibility": "public", 42 "static": false, 43 "optional": false, 44 "computed": false, 45 "value": { 46 "type": "FunctionExpression", 47 "function": { 48 "type": "ScriptFunction", 49 "id": { 50 "type": "Identifier", 51 "name": "foo", 52 "decorators": [], 53 "loc": { 54 "start": { 55 "line": 17, 56 "column": 5 57 }, 58 "end": { 59 "line": 17, 60 "column": 8 61 } 62 } 63 }, 64 "generator": false, 65 "async": false, 66 "expression": false, 67 "params": [], 68 "returnType": { 69 "type": "ETSPrimitiveType", 70 "loc": { 71 "start": { 72 "line": 17, 73 "column": 11 74 }, 75 "end": { 76 "line": 17, 77 "column": 15 78 } 79 } 80 }, 81 "declare": true, 82 "loc": { 83 "start": { 84 "line": 17, 85 "column": 8 86 }, 87 "end": { 88 "line": 17, 89 "column": 8 90 } 91 } 92 }, 93 "loc": { 94 "start": { 95 "line": 17, 96 "column": 8 97 }, 98 "end": { 99 "line": 17, 100 "column": 8 101 } 102 } 103 }, 104 "overloads": [], 105 "decorators": [], 106 "loc": { 107 "start": { 108 "line": 17, 109 "column": 5 110 }, 111 "end": { 112 "line": 17, 113 "column": 8 114 } 115 } 116 } 117 ], 118 "loc": { 119 "start": { 120 "line": 16, 121 "column": 24 122 }, 123 "end": { 124 "line": 18, 125 "column": 2 126 } 127 } 128 }, 129 "loc": { 130 "start": { 131 "line": 16, 132 "column": 9 133 }, 134 "end": { 135 "line": 19, 136 "column": 1 137 } 138 } 139 }, 140 { 141 "type": "ClassDeclaration", 142 "definition": { 143 "id": { 144 "type": "Identifier", 145 "name": "ETSGLOBAL", 146 "decorators": [], 147 "loc": { 148 "start": { 149 "line": 1, 150 "column": 1 151 }, 152 "end": { 153 "line": 1, 154 "column": 1 155 } 156 } 157 }, 158 "superClass": null, 159 "implements": [], 160 "body": [], 161 "loc": { 162 "start": { 163 "line": 1, 164 "column": 1 165 }, 166 "end": { 167 "line": 1, 168 "column": 1 169 } 170 } 171 }, 172 "loc": { 173 "start": { 174 "line": 1, 175 "column": 1 176 }, 177 "end": { 178 "line": 1, 179 "column": 1 180 } 181 } 182 } 183 ], 184 "loc": { 185 "start": { 186 "line": 1, 187 "column": 1 188 }, 189 "end": { 190 "line": 19, 191 "column": 1 192 } 193 } 194} 195