var Tag = require('src/ast/tag') ; /** * A tag based directive * @class TagDirective * @extends Tag * @memberof AST * @param {Object} opts - The tag directive options */ var TagDirective = module.exports = function TagDirective(opts) { if(!(this instanceof TagDirective)) return new TagDirective(opts); Tag.call(this, opts); } TagDirective.prototype = Object.create(Tag.prototype);