UNPKG

abstract-syntax-tree

Version:
13 lines (10 loc) 245 B
const Statement = require('./Statement') class BlockStatement extends Statement { constructor (options) { super() this.type = 'BlockStatement' this.body = [] Object.assign(this, options) } } module.exports = BlockStatement