| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- import {Callable} from './types.js';
- import {Debugger} from './create-debugger.js';
- /**
- * Debuggable options.
- */
- export type DebuggableOptions = {
- namespace?: string,
- noEnvironmentNamespace?: boolean,
- noInstantiationMessage?: boolean,
- }
- /**
- * Debuggable.
- */
- export class Debuggable {
- /**
- * Instantiation message.
- */
- static INSTANTIATION_MESSAGE: string;
- /**
- * Debug.
- */
- debug: Debugger;
- /**
- * Debug.
- */
- ctorDebug: Debugger;
- /**
- * Возвращает функцию-отладчик с сегментом пространства имен
- * указанного в параметре метода.
- *
- * @param method
- * @protected
- */
- protected getDebuggerFor(method: Callable): Debugger;
- /**
- * Constructor.
- *
- * @param container
- * @param options
- */
- constructor(options?: DebuggableOptions);
- }
|