nl_tokens: ---------------------------------------------------------------------------- // Constructor Module // ---------------------------------------------------------------------------- // //////////////////////////////////////////////////////////////////////////////
pl_tokens: function Module ( process , name , path , base , size ) { // Auto instantiate the Module if ( ! ( this instanceof Module ) ) { return new Module ( process , name , path , base , size ) ; } // Check for any arguments if ( process === undefined ) { this . _valid = false ; this . _name = "" ; this . _path = "" ; this . _base = 0 ; this . _size = 0 ; this . _proc = robot . Process ( ) ; this . _segments = null ; return ; } // Verify that args are valid if ( typeof name === "string" && typeof <mask> === "string" && typeof base === "number" && typeof size === "number" && process instanceof robot . Process ) { this . _valid = true ; this . _name = name ; this . _path = path ; this . _base = base ; this . _size = size ; this . _proc = process ; this . _segments = null ; return ; } throw new TypeError ( "Invalid arguments" ) ; }