src/GCCResultProcessor.js
/**
 * Contructor function for the type {@link GCCResultProcessor}.
 *
 * @classdesc This class process stdout and stderr from the Google Closure Compiler into {@link GCCMessage} objects.
 *            In addition several helper methods are offered.
 *
 * @constructor
 *
 * @param {number} code The return code of the GCC.
 * @param {?string=} stdout The results from GCC on stdout (optional).
 * @param {?string=} stderr The results from GCC on stderr (optional).
 * @throws {Error} Thrown in case any of the arguments is invalid.
 */
Contructor function for the type  GCCResultProcessor.
@classdesc This class process stdout and stderr from the Google Closure Compiler into  GCCMessage objects.
In addition several helper methods are offered.

@constructor

@param {number} code The return code of the GCC.
@param {?string=} stdout The results from GCC on stdout (optional).
@param {?string=} stderr The results from GCC on stderr (optional).
@throws {Error} Thrown in case any of the arguments is invalid.
Contructor function for the type GCCResultProcessor . @classdesc This class process stdout and stderr from the Google Closure Compiler into GCCMessage objects . In addition several helper methods are offered . @constructor @param { number } code The return code of the GCC . @param { ?string = } stdout The results from GCC on stdout ( optional ) . @param { ?string = } stderr The results from GCC on stderr ( optional ) . @throws { Error } Thrown in case any of the arguments is invalid .
function GCCResultProcessor (code, stdout, stderr) {
    if (!util.isNumber(code)) {
        throw new Error('"code" must be a number!');
    }
    if (stdout !== null && stdout !== undefined && !util.isString(stdout)) {
        throw new Error('"stdout" must be a string!');
    }
    if (stderr !== null && stderr !== undefined && !util.isString(stderr)) {
        throw new Error('"stderr" must be a string!');
    }
    this._code = code;
    this._stdout = stdout || '';
    this._stderr = stderr || '';
    this._results =  ((undefined));
    this._processStderr();
}
function GCCResultProcessor ( code , stdout , stderr ) { if ( ! util . isNumber ( code ) ) { throw new Error ( '"code" must be a number!' ) ; } if ( stdout !== null && stdout !== undefined && ! util . isString ( stdout ) ) { throw new Error ( '"stdout" must be a string!' ) ; } if ( stderr !== null && stderr !== undefined && ! util . isString ( stderr ) ) { throw new Error ( '"stderr" must be a string!' ) ; } this . _code = code ; this . _stdout = stdout || '' ; this . _stderr = stderr || '' ; this . _results = ( ( undefined ) ) ; this . _processStderr ( ) ; }
Contructor function for the type {@link GCCResultProcessor}.
Contructor function for the type { @link GCCResultProcessor } .
/** @type {Array<GCCMessage>} */ /** @type {?} */