mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
23 lines
439 B
TypeScript
23 lines
439 B
TypeScript
import { ISourceCode } from './interfaces/ISourceCode';
|
|
|
|
export class SourceCode implements ISourceCode {
|
|
/**
|
|
* @type {string}
|
|
*/
|
|
private readonly sourceCode: string;
|
|
|
|
/**
|
|
* @param {string} sourceCode
|
|
*/
|
|
constructor (sourceCode: string) {
|
|
this.sourceCode = sourceCode;
|
|
}
|
|
|
|
/**
|
|
* @returns {string}
|
|
*/
|
|
public getSourceCode (): string {
|
|
return this.sourceCode;
|
|
}
|
|
}
|