lib/panino/plugins/parsers/javascript/jsd/js_parser.js
function child_nodes(node) {
  var properties = NODE_TYPES[node["type"]];

  if (properties === undefined) {
    console.error("FATAL".red + ": Unknown node type: " + node["type"]);
    console.trace();
    process.exit(1);
  }

   var x = properties.map(function(p) {
     return node[p];
   });

   return _.flatten(_.compact(x));
}
function child_nodes(node) {
  var properties = NODE_TYPES[node["type"]];

  if (properties === undefined) {
    console.error("FATAL".red + ": Unknown node type: " + node["type"]);
    console.trace();
    process.exit(1);
  }

   var x = properties.map(function(p) {
     return node[p];
   });

   return _.flatten(_.compact(x));
}
function child_nodes ( node ) { var properties = NODE_TYPES [ node [ "type" ] ] ; if ( properties === undefined ) { console . error ( "FATAL" . red + ": Unknown node type: " + node [ "type" ] ) ; console . trace ( ) ; process . exit ( 1 ) ; } var x = properties . map ( function ( p ) { return node [ p ] ; } ) ; return _ . flatten ( _ . compact ( x ) ) ; }
Returns array of child nodes of given node
Returns array of child nodes of given node