/** * An attribute * @class Attrib * @memberof AST * @param {Object} opts - The attribute options */ var Attrib = module.exports = function Attrib(opts) { if(!(this instanceof Attrib)) return new Attrib(opts); /** @member {string} Attrib#name */ this.name = opts.name || null; /** @member {Interpolator} Attrib#data */ this.data = opts.data || null; }