UNPKG

javascript-obfuscator

Version:
16 lines (15 loc) 1.25 kB
import { TIdentifierNamesGeneratorFactory } from '../../types/container/generators/TIdentifierNamesGeneratorFactory'; import { TStatement } from '../../types/node/TStatement'; import { ICustomCodeHelperFormatter } from '../../interfaces/custom-code-helpers/ICustomCodeHelperFormatter'; import { ICustomCodeHelperObfuscator } from '../../interfaces/custom-code-helpers/ICustomCodeHelperObfuscator'; import { IOptions } from '../../interfaces/options/IOptions'; import { IRandomGenerator } from '../../interfaces/utils/IRandomGenerator'; import { AbstractCustomCodeHelper } from '../AbstractCustomCodeHelper'; export declare class DebugProtectionFunctionCallCodeHelper extends AbstractCustomCodeHelper { private callsControllerFunctionName; private debugProtectionFunctionName; constructor(identifierNamesGeneratorFactory: TIdentifierNamesGeneratorFactory, customCodeHelperFormatter: ICustomCodeHelperFormatter, customCodeHelperObfuscator: ICustomCodeHelperObfuscator, randomGenerator: IRandomGenerator, options: IOptions); initialize(debugProtectionFunctionName: string, callsControllerFunctionName: string): void; protected getNodeStructure(codeHelperTemplate: string): TStatement[]; protected getCodeHelperTemplate(): string; }