| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":140,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":8,"column":34,"index":140}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":140,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":8,"column":34,"index":140}}, |
| 7 |
"sourceType": "module", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "DeclareClass", |
| 12 |
"start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}}, |
| 13 |
"id": { |
| 14 |
"type": "Identifier", |
| 15 |
"start":14,"end":16,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":16,"index":16},"identifierName":"C1"}, |
| 16 |
"name": "C1" |
| 17 |
}, |
| 18 |
"typeParameters": null, |
| 19 |
"extends": [], |
| 20 |
"implements": [], |
| 21 |
"mixins": [], |
| 22 |
"body": { |
| 23 |
"type": "ObjectTypeAnnotation", |
| 24 |
"start":17,"end":19,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":19,"index":19}}, |
| 25 |
"callProperties": [], |
| 26 |
"properties": [], |
| 27 |
"indexers": [], |
| 28 |
"internalSlots": [], |
| 29 |
"exact": false |
| 30 |
} |
| 31 |
}, |
| 32 |
{ |
| 33 |
"type": "DeclareInterface", |
| 34 |
"start":20,"end":43,"loc":{"start":{"line":2,"column":0,"index":20},"end":{"line":2,"column":23,"index":43}}, |
| 35 |
"id": { |
| 36 |
"type": "Identifier", |
| 37 |
"start":38,"end":40,"loc":{"start":{"line":2,"column":18,"index":38},"end":{"line":2,"column":20,"index":40},"identifierName":"I1"}, |
| 38 |
"name": "I1" |
| 39 |
}, |
| 40 |
"typeParameters": null, |
| 41 |
"extends": [], |
| 42 |
"implements": [], |
| 43 |
"mixins": [], |
| 44 |
"body": { |
| 45 |
"type": "ObjectTypeAnnotation", |
| 46 |
"start":41,"end":43,"loc":{"start":{"line":2,"column":21,"index":41},"end":{"line":2,"column":23,"index":43}}, |
| 47 |
"callProperties": [], |
| 48 |
"properties": [], |
| 49 |
"indexers": [], |
| 50 |
"internalSlots": [], |
| 51 |
"exact": false |
| 52 |
} |
| 53 |
}, |
| 54 |
{ |
| 55 |
"type": "DeclareTypeAlias", |
| 56 |
"start":44,"end":69,"loc":{"start":{"line":3,"column":0,"index":44},"end":{"line":3,"column":25,"index":69}}, |
| 57 |
"id": { |
| 58 |
"type": "Identifier", |
| 59 |
"start":57,"end":59,"loc":{"start":{"line":3,"column":13,"index":57},"end":{"line":3,"column":15,"index":59},"identifierName":"T1"}, |
| 60 |
"name": "T1" |
| 61 |
}, |
| 62 |
"typeParameters": null, |
| 63 |
"right": { |
| 64 |
"type": "NumberTypeAnnotation", |
| 65 |
"start":62,"end":68,"loc":{"start":{"line":3,"column":18,"index":62},"end":{"line":3,"column":24,"index":68}} |
| 66 |
} |
| 67 |
}, |
| 68 |
{ |
| 69 |
"type": "InterfaceDeclaration", |
| 70 |
"start":71,"end":86,"loc":{"start":{"line":5,"column":0,"index":71},"end":{"line":5,"column":15,"index":86}}, |
| 71 |
"id": { |
| 72 |
"type": "Identifier", |
| 73 |
"start":81,"end":83,"loc":{"start":{"line":5,"column":10,"index":81},"end":{"line":5,"column":12,"index":83},"identifierName":"I2"}, |
| 74 |
"name": "I2" |
| 75 |
}, |
| 76 |
"typeParameters": null, |
| 77 |
"extends": [], |
| 78 |
"implements": [], |
| 79 |
"mixins": [], |
| 80 |
"body": { |
| 81 |
"type": "ObjectTypeAnnotation", |
| 82 |
"start":84,"end":86,"loc":{"start":{"line":5,"column":13,"index":84},"end":{"line":5,"column":15,"index":86}}, |
| 83 |
"callProperties": [], |
| 84 |
"properties": [], |
| 85 |
"indexers": [], |
| 86 |
"internalSlots": [], |
| 87 |
"exact": false |
| 88 |
} |
| 89 |
}, |
| 90 |
{ |
| 91 |
"type": "TypeAlias", |
| 92 |
"start":87,"end":104,"loc":{"start":{"line":6,"column":0,"index":87},"end":{"line":6,"column":17,"index":104}}, |
| 93 |
"id": { |
| 94 |
"type": "Identifier", |
| 95 |
"start":92,"end":94,"loc":{"start":{"line":6,"column":5,"index":92},"end":{"line":6,"column":7,"index":94},"identifierName":"T2"}, |
| 96 |
"name": "T2" |
| 97 |
}, |
| 98 |
"typeParameters": null, |
| 99 |
"right": { |
| 100 |
"type": "NumberTypeAnnotation", |
| 101 |
"start":97,"end":103,"loc":{"start":{"line":6,"column":10,"index":97},"end":{"line":6,"column":16,"index":103}} |
| 102 |
} |
| 103 |
}, |
| 104 |
{ |
| 105 |
"type": "ExportNamedDeclaration", |
| 106 |
"start":106,"end":140,"loc":{"start":{"line":8,"column":0,"index":106},"end":{"line":8,"column":34,"index":140}}, |
| 107 |
"specifiers": [ |
| 108 |
{ |
| 109 |
"type": "ExportSpecifier", |
| 110 |
"start":120,"end":122,"loc":{"start":{"line":8,"column":14,"index":120},"end":{"line":8,"column":16,"index":122}}, |
| 111 |
"local": { |
| 112 |
"type": "Identifier", |
| 113 |
"start":120,"end":122,"loc":{"start":{"line":8,"column":14,"index":120},"end":{"line":8,"column":16,"index":122},"identifierName":"C1"}, |
| 114 |
"name": "C1" |
| 115 |
}, |
| 116 |
"exported": { |
| 117 |
"type": "Identifier", |
| 118 |
"start":120,"end":122,"loc":{"start":{"line":8,"column":14,"index":120},"end":{"line":8,"column":16,"index":122},"identifierName":"C1"}, |
| 119 |
"name": "C1" |
| 120 |
} |
| 121 |
}, |
| 122 |
{ |
| 123 |
"type": "ExportSpecifier", |
| 124 |
"start":124,"end":126,"loc":{"start":{"line":8,"column":18,"index":124},"end":{"line":8,"column":20,"index":126}}, |
| 125 |
"local": { |
| 126 |
"type": "Identifier", |
| 127 |
"start":124,"end":126,"loc":{"start":{"line":8,"column":18,"index":124},"end":{"line":8,"column":20,"index":126},"identifierName":"I1"}, |
| 128 |
"name": "I1" |
| 129 |
}, |
| 130 |
"exported": { |
| 131 |
"type": "Identifier", |
| 132 |
"start":124,"end":126,"loc":{"start":{"line":8,"column":18,"index":124},"end":{"line":8,"column":20,"index":126},"identifierName":"I1"}, |
| 133 |
"name": "I1" |
| 134 |
} |
| 135 |
}, |
| 136 |
{ |
| 137 |
"type": "ExportSpecifier", |
| 138 |
"start":128,"end":130,"loc":{"start":{"line":8,"column":22,"index":128},"end":{"line":8,"column":24,"index":130}}, |
| 139 |
"local": { |
| 140 |
"type": "Identifier", |
| 141 |
"start":128,"end":130,"loc":{"start":{"line":8,"column":22,"index":128},"end":{"line":8,"column":24,"index":130},"identifierName":"I2"}, |
| 142 |
"name": "I2" |
| 143 |
}, |
| 144 |
"exported": { |
| 145 |
"type": "Identifier", |
| 146 |
"start":128,"end":130,"loc":{"start":{"line":8,"column":22,"index":128},"end":{"line":8,"column":24,"index":130},"identifierName":"I2"}, |
| 147 |
"name": "I2" |
| 148 |
} |
| 149 |
}, |
| 150 |
{ |
| 151 |
"type": "ExportSpecifier", |
| 152 |
"start":132,"end":134,"loc":{"start":{"line":8,"column":26,"index":132},"end":{"line":8,"column":28,"index":134}}, |
| 153 |
"local": { |
| 154 |
"type": "Identifier", |
| 155 |
"start":132,"end":134,"loc":{"start":{"line":8,"column":26,"index":132},"end":{"line":8,"column":28,"index":134},"identifierName":"T1"}, |
| 156 |
"name": "T1" |
| 157 |
}, |
| 158 |
"exported": { |
| 159 |
"type": "Identifier", |
| 160 |
"start":132,"end":134,"loc":{"start":{"line":8,"column":26,"index":132},"end":{"line":8,"column":28,"index":134},"identifierName":"T1"}, |
| 161 |
"name": "T1" |
| 162 |
} |
| 163 |
}, |
| 164 |
{ |
| 165 |
"type": "ExportSpecifier", |
| 166 |
"start":136,"end":138,"loc":{"start":{"line":8,"column":30,"index":136},"end":{"line":8,"column":32,"index":138}}, |
| 167 |
"local": { |
| 168 |
"type": "Identifier", |
| 169 |
"start":136,"end":138,"loc":{"start":{"line":8,"column":30,"index":136},"end":{"line":8,"column":32,"index":138},"identifierName":"T2"}, |
| 170 |
"name": "T2" |
| 171 |
}, |
| 172 |
"exported": { |
| 173 |
"type": "Identifier", |
| 174 |
"start":136,"end":138,"loc":{"start":{"line":8,"column":30,"index":136},"end":{"line":8,"column":32,"index":138},"identifierName":"T2"}, |
| 175 |
"name": "T2" |
| 176 |
} |
| 177 |
} |
| 178 |
], |
| 179 |
"source": null, |
| 180 |
"exportKind": "type", |
| 181 |
"declaration": null |
| 182 |
} |
| 183 |
], |
| 184 |
"directives": [] |
| 185 |
} |
| 186 |
} |