woltlab-compiler
Version:
A compiler for WoltLab-Package Archives and WoltLab-Package Components
23 lines (22 loc) • 821 B
TypeScript
import { IDeleteInstruction } from "../PackageSystem/Instructions/IDeleteInstruction";
import { ImportFileCompiler } from "./ImportFileCompiler";
/**
* Provides the functionality to compile files with an import- and a delete-section.
*/
export declare abstract class ObjectDeletionFileCompiler<T extends IDeleteInstruction<TObject>, TObject> extends ImportFileCompiler<T> {
/**
* Initializes a new instance of the `DeleteInstructionFileCompiler<T, TObject>` class.
*
* @param item
* The item to compile.
*/
constructor(item: T);
/**
* Serializes the delete-section of the document.
*/
protected CreateDelete(): Element;
/**
* Serializes an object to delete.
*/
protected abstract CreateDeleteObject(object: TObject): Element;
}