| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":139,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":45,"index":139}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":139,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":45,"index":139}}, |
| 7 |
"sourceType": "module", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ImportDeclaration", |
| 12 |
"start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":58,"index":58}}, |
| 13 |
"specifiers": [ |
| 14 |
{ |
| 15 |
"type": "ImportSpecifier", |
| 16 |
"start":9,"end":21,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":21,"index":21}}, |
| 17 |
"imported": { |
| 18 |
"type": "StringLiteral", |
| 19 |
"start":9,"end":14,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":14,"index":14}}, |
| 20 |
"extra": { |
| 21 |
"rawValue": "foo", |
| 22 |
"raw": "\"foo\"" |
| 23 |
}, |
| 24 |
"value": "foo" |
| 25 |
}, |
| 26 |
"importKind": null, |
| 27 |
"local": { |
| 28 |
"type": "Identifier", |
| 29 |
"start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21},"identifierName":"bar"}, |
| 30 |
"name": "bar" |
| 31 |
} |
| 32 |
}, |
| 33 |
{ |
| 34 |
"type": "ImportSpecifier", |
| 35 |
"start":23,"end":39,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":39,"index":39}}, |
| 36 |
"imported": { |
| 37 |
"type": "StringLiteral", |
| 38 |
"start":23,"end":32,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":32,"index":32}}, |
| 39 |
"extra": { |
| 40 |
"rawValue": "default", |
| 41 |
"raw": "\"default\"" |
| 42 |
}, |
| 43 |
"value": "default" |
| 44 |
}, |
| 45 |
"importKind": null, |
| 46 |
"local": { |
| 47 |
"type": "Identifier", |
| 48 |
"start":36,"end":39,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":39,"index":39},"identifierName":"qux"}, |
| 49 |
"name": "qux" |
| 50 |
} |
| 51 |
} |
| 52 |
], |
| 53 |
"importKind": "value", |
| 54 |
"source": { |
| 55 |
"type": "StringLiteral", |
| 56 |
"start":47,"end":57,"loc":{"start":{"line":1,"column":47,"index":47},"end":{"line":1,"column":57,"index":57}}, |
| 57 |
"extra": { |
| 58 |
"rawValue": "module-a", |
| 59 |
"raw": "\"module-a\"" |
| 60 |
}, |
| 61 |
"value": "module-a" |
| 62 |
} |
| 63 |
}, |
| 64 |
{ |
| 65 |
"type": "ExportNamedDeclaration", |
| 66 |
"start":59,"end":93,"loc":{"start":{"line":2,"column":0,"index":59},"end":{"line":2,"column":34,"index":93}}, |
| 67 |
"specifiers": [ |
| 68 |
{ |
| 69 |
"type": "ExportNamespaceSpecifier", |
| 70 |
"start":66,"end":76,"loc":{"start":{"line":2,"column":7,"index":66},"end":{"line":2,"column":17,"index":76}}, |
| 71 |
"exported": { |
| 72 |
"type": "StringLiteral", |
| 73 |
"start":71,"end":76,"loc":{"start":{"line":2,"column":12,"index":71},"end":{"line":2,"column":17,"index":76}}, |
| 74 |
"extra": { |
| 75 |
"rawValue": "foo", |
| 76 |
"raw": "\"foo\"" |
| 77 |
}, |
| 78 |
"value": "foo" |
| 79 |
} |
| 80 |
} |
| 81 |
], |
| 82 |
"source": { |
| 83 |
"type": "StringLiteral", |
| 84 |
"start":82,"end":92,"loc":{"start":{"line":2,"column":23,"index":82},"end":{"line":2,"column":33,"index":92}}, |
| 85 |
"extra": { |
| 86 |
"rawValue": "module-b", |
| 87 |
"raw": "\"module-b\"" |
| 88 |
}, |
| 89 |
"value": "module-b" |
| 90 |
}, |
| 91 |
"exportKind": "value" |
| 92 |
}, |
| 93 |
{ |
| 94 |
"type": "ExportNamedDeclaration", |
| 95 |
"start":94,"end":139,"loc":{"start":{"line":3,"column":0,"index":94},"end":{"line":3,"column":45,"index":139}}, |
| 96 |
"specifiers": [ |
| 97 |
{ |
| 98 |
"type": "ExportSpecifier", |
| 99 |
"start":103,"end":120,"loc":{"start":{"line":3,"column":9,"index":103},"end":{"line":3,"column":26,"index":120}}, |
| 100 |
"local": { |
| 101 |
"type": "Identifier", |
| 102 |
"start":103,"end":110,"loc":{"start":{"line":3,"column":9,"index":103},"end":{"line":3,"column":16,"index":110},"identifierName":"default"}, |
| 103 |
"name": "default" |
| 104 |
}, |
| 105 |
"exported": { |
| 106 |
"type": "StringLiteral", |
| 107 |
"start":114,"end":120,"loc":{"start":{"line":3,"column":20,"index":114},"end":{"line":3,"column":26,"index":120}}, |
| 108 |
"extra": { |
| 109 |
"rawValue": "quux", |
| 110 |
"raw": "\"quux\"" |
| 111 |
}, |
| 112 |
"value": "quux" |
| 113 |
} |
| 114 |
} |
| 115 |
], |
| 116 |
"source": { |
| 117 |
"type": "StringLiteral", |
| 118 |
"start":128,"end":138,"loc":{"start":{"line":3,"column":34,"index":128},"end":{"line":3,"column":44,"index":138}}, |
| 119 |
"extra": { |
| 120 |
"rawValue": "module-b", |
| 121 |
"raw": "\"module-b\"" |
| 122 |
}, |
| 123 |
"value": "module-b" |
| 124 |
}, |
| 125 |
"declaration": null, |
| 126 |
"exportKind": "value" |
| 127 |
} |
| 128 |
], |
| 129 |
"directives": [] |
| 130 |
} |
| 131 |
} |