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