A Twitch.tv viewer reward and games system.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
528 B

  1. 'use strict';
  2. var Node = require('./node');
  3. /**
  4. * Initialize a `BlockComment` with the given `block`.
  5. *
  6. * @param {String} val
  7. * @param {Block} block
  8. * @param {Boolean} buffer
  9. * @api public
  10. */
  11. var BlockComment = module.exports = function BlockComment(val, block, buffer) {
  12. this.block = block;
  13. this.val = val;
  14. this.buffer = buffer;
  15. };
  16. // Inherit from `Node`.
  17. BlockComment.prototype = Object.create(Node.prototype);
  18. BlockComment.prototype.constructor = BlockComment;
  19. BlockComment.prototype.type = 'BlockComment';