Sha256: a21401388aa6427f2a0ee65ed662afb121f1c9bc7a92c7d60a0fd7527b0ea5b9

Contents?: true

Size: 433 Bytes

Versions: 41

Compression:

Stored size: 433 Bytes

Contents

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

/**
 * Inspect the given `expr`.
 *
 * @param {Expression} expr
 * @api public
 */

(module.exports = function p(){
  [].slice.call(arguments).forEach(function(expr){
    expr = utils.unwrap(expr);
    if (!expr.nodes.length) return;
    console.log('\u001b[90minspect:\u001b[0m %s', expr.toString().replace(/^\(|\)$/g, ''));
  })
  return nodes.null;
}).raw = true;

Version data entries

41 entries across 22 versions & 3 rubygems

Version Path
epuber-stylus-source-0.56.0 vendor/lib/functions/p.js
epuber-stylus-source-0.54.8 vendor/lib/functions/p.js
ela-4.1.6 node_modules/nib/node_modules/stylus/lib/functions/p.js
ela-4.1.6 node_modules/stylus/lib/functions/p.js
ela-4.1.5 node_modules/nib/node_modules/stylus/lib/functions/p.js
ela-4.1.5 node_modules/stylus/lib/functions/p.js
ela-4.1.4 node_modules/nib/node_modules/stylus/lib/functions/p.js
ela-4.1.4 node_modules/stylus/lib/functions/p.js
ela-4.1.3 node_modules/stylus/lib/functions/p.js
ela-4.1.3 node_modules/nib/node_modules/stylus/lib/functions/p.js
ela-4.1.2 node_modules/stylus/lib/functions/p.js
ela-4.1.2 node_modules/nib/node_modules/stylus/lib/functions/p.js
ela-4.1.1 node_modules/nib/node_modules/stylus/lib/functions/p.js
ela-4.1.1 node_modules/stylus/lib/functions/p.js
ela-4.1.0 node_modules/nib/node_modules/stylus/lib/functions/p.js
ela-4.1.0 node_modules/stylus/lib/functions/p.js
ela-4.0.0 node_modules/stylus/lib/functions/p.js
ela-4.0.0 node_modules/nib/node_modules/stylus/lib/functions/p.js
ela-3.4.3 node_modules/nib/node_modules/stylus/lib/functions/p.js
ela-3.4.3 node_modules/stylus/lib/functions/p.js