woltlab-compiler
Version:
A compiler for WoltLab-Package Archives and WoltLab-Package Components
49 lines (48 loc) • 1.56 kB
TypeScript
import { SelfContainedPHPInstructionCompiler } from "../../Compilation/PackageSystem/Instructions/SelfContainedPHPInstructionCompiler";
import { ApplicationFileSystemInstruction } from "./FileSystem/ApplicationFileSystemInstruction";
import { ISelfContainedPHPInstructionOptions } from "./ISelfContainedPHPInstructionOptions";
import { PHPInstruction } from "./PHPInstruction";
/**
* Represents an instruction which uploads and executes `php`-code.
*/
export declare class SelfContainedPHPInstruction extends ApplicationFileSystemInstruction {
/**
* The path to save the `php`-file to.
*/
private destination;
/**
* Initializes a new instance of the `PHPInstruction` class.
*/
constructor(options: ISelfContainedPHPInstructionOptions);
/**
* @inheritdoc
*/
readonly Compiler: SelfContainedPHPInstructionCompiler;
/**
* Gets or sets the path to load the `php`-file from.
*/
Source: string;
/**
* @inheritdoc
*/
/**
* @inheritdoc
*/
FileName: string;
/**
* Gets or sets the path to save the `php`-file to.
*/
Destination: string;
/**
* Gets the file-instruction contained by this instruction.
*/
readonly FileInstruction: ApplicationFileSystemInstruction;
/**
* Gets the php-instruction contained by this instruction.
*/
readonly PHPInstruction: PHPInstruction;
/**
* @inheritdoc
*/
protected MakeDefaultFileName(source: string): string;
}