babel/lib/6to5/modules/ignore.js
2014-11-07 20:46:43 +11:00

25 lines
429 B
JavaScript

module.exports = IgnoreFormatter;
var t = require("../types");
function IgnoreFormatter() {
}
IgnoreFormatter.prototype.import = function () {
};
IgnoreFormatter.prototype.importSpecifier = function () {
};
IgnoreFormatter.prototype.export = function (node, nodes) {
var declar = t.toStatement(node.declaration, true);
if (declar) nodes.push(declar);
};
IgnoreFormatter.prototype.exportSpecifier = function () {
};