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