%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/specpages-backup/node_modules/stylus/lib/functions/
Upload File :
Create Path :
Current File : /www/specpages-backup/node_modules/stylus/lib/functions/operate.js

var utils = require('../utils');

/**
 * Perform `op` on the `left` and `right` operands.
 *
 * @param {String} op
 * @param {Node} left
 * @param {Node} right
 * @return {Node}
 * @api public
 */

function operate(op, left, right){
  utils.assertType(op, 'string', 'op');
  utils.assertPresent(left, 'left');
  utils.assertPresent(right, 'right');
  return left.operate(op.val, right);
}
operate.params = ['op', 'left', 'right'];
module.exports = operate;

Zerion Mini Shell 1.0