export default class Base { constructor (node, {extensions = []}) { this.tags = [] for (let extension of extensions) { extension.setup.call(this, node) this.tags.push(extension.name) } } is (ability) { return this.tags.includes(ability) } }