 var result = []; var stack = [this]; var elem; while ((elem = stack.pop())){ result.push(elem);  if (elem.children) { dojo.lang.forEach(elem.children, function(elem) { stack.push(elem); }); } } return result; }, 
 var result = []; var stack = [this]; var elem; while ((elem = stack.pop())){ result.push(elem);  if (elem.children) { dojo.lang.forEach(elem.children, function(elem) { stack.push(elem); }); } } return result; }, 
  getDescendants: function(){    // returns: a flattened array of all direct descendants including self    var result = [];    var stack = [this];    var elem;    while ((elem = stack.pop())){      result.push(elem);      // a child may be data object without children field set (not widget)      if (elem.children) {        dojo.lang.forEach(elem.children, function(elem) { stack.push(elem); });      }    }    return result; // Array  },
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/65ae7e8768a77997b7894e274bc242069a1cb027/struts_dojo.js.uncompressed.js/clean/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js