UNPKG

firescript

Version:
23 lines (20 loc) 321 B
const Comment = require('./Comment') /** * Block * * @class Block * @extends JSElement * * interface Block { * type: 'Block'; * value: string; * } */ class Block extends Comment { compile (buffer) { buffer.write('/*') buffer.write(this.value) buffer.write('*/') } } module.exports = Block