Code coverage report for lib/nodes/node.js

Statements: 100% (6 / 6)      Branches: 100% (0 / 0)      Functions: 50% (1 / 2)      Lines: 100% (6 / 6)      Ignored: none     

All files » lib/nodes/ » node.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19    11                 11 2 2 2     11  
'use strict';
 
var Node = module.exports = function Node(){};
 
/**
 * Clone this node (return itself)
 *
 * @return {Node}
 * @api private
 */
 
Node.prototype.clone = function(){
  var err = new Error('node.clone is deprecated and will be removed in v2.0.0');
  console.warn(err.stack);
  return this;
};
 
Node.prototype.type = '';