clone.js 261 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 var utils = require('../utils'); /** * Return a clone of the given `expr`. * * @param {Expression} expr * @return {Node} * @api public */ (module.exports = function clone(expr){ utils.assertPresent(expr, 'expr'); return expr.clone(); }).raw = true;