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
24 lines
528 B
'use strict';
|
|
|
|
var Node = require('./node');
|
|
|
|
/**
|
|
* Initialize a `BlockComment` with the given `block`.
|
|
*
|
|
* @param {String} val
|
|
* @param {Block} block
|
|
* @param {Boolean} buffer
|
|
* @api public
|
|
*/
|
|
|
|
var BlockComment = module.exports = function BlockComment(val, block, buffer) {
|
|
this.block = block;
|
|
this.val = val;
|
|
this.buffer = buffer;
|
|
};
|
|
|
|
// Inherit from `Node`.
|
|
BlockComment.prototype = Object.create(Node.prototype);
|
|
BlockComment.prototype.constructor = BlockComment;
|
|
|
|
BlockComment.prototype.type = 'BlockComment';
|