use :node;

var Node = module.require('./Node').Node;

fn ImportDefaultSpecifier(id)

extends Node {

this.type = "ImportDefaultSpecifier";

this.id = id;
this.id.parent = this;

}

ImportDefaultSpecifier.prototype.codegen = () -> {

if !super.codegen() {
  return;
}

this.id = this.id.codegen(false);
this.getContext().node.defineIdentifier(this.id);

return this;

};

exports.ImportDefaultSpecifier = ImportDefaultSpecifier;