Lines Matching refs:ctor
127 // process.emitWarning(str[, type[, code]][, ctor])
129 function emitWarning(warning, type, code, ctor) {
132 ctor = type.ctor;
138 ctor = type;
145 ctor = code;
151 warning = createWarningObject(warning, type, code, ctor, detail);
169 function emitWarningSync(warning, type, code, ctor) {
170 process.emit('warning', createWarningObject(warning, type, code, ctor));
173 function createWarningObject(warning, type, code, ctor, detail) {
185 ErrorCaptureStackTrace(warning, ctor || process.emitWarning);