taintable/utils/attrFinder.js
// Executes visitor on the ast tree and its children in relatexed_mode.
Executes visitor on the ast tree and its children in relatexed_mode.
Executes visitor on the ast tree and its children in relatexed_mode .
function relaxed_traverse(object, domain, Visitor, cmd) {
    var key, child;
    if (Visitor.call(null, object, domain, cmd) === false) {
        return;
    }
    for (key in object) {
        if (object.hasOwnProperty(key)) {
            child = object[key];
            if (typeof child === 'object' && child !== null) {
                relaxed_traverse(child, domain, Visitor, cmd);
            }
        }
    }
}
function relaxed_traverse ( object , domain , Visitor , cmd ) { var key , child ; if ( Visitor . call ( null , object , domain , cmd ) === false ) { return ; } for ( key in object ) { if ( object . hasOwnProperty ( key ) ) { child = object [ key ] ; if ( typeof child === 'object' && child !== null ) { relaxed_traverse ( child , domain , Visitor , cmd ) ; } } } }
Executes visitor on the ast tree and its children in relatexed_mode.
Executes visitor on the ast tree and its children in relatexed_mode .