UNPKG

woltlab-compiler

Version:

A compiler for WoltLab-Package Archives and WoltLab-Package Components

52 lines (51 loc) 1.54 kB
import { BBCodeInstructionCompiler } from "../../../Compilation/PackageSystem/Instructions/BBCodeInstructionCompiler"; import { BBCode } from "../../../Customization/BBCodes/BBCode"; import { ILocalizationInstruction } from "../Globalization/ILocalizationInstruction"; import { NamedDeleteInstruction } from "../NamedDeleteInstruction"; import { IBBCodeInstructionOptions } from "./IBBCodeInstructionOptions"; /** * Represents an instruction which provides bb-codes. */ export declare class BBCodeInstruction extends NamedDeleteInstruction implements ILocalizationInstruction { /** * The bb-codes provided by this instruction. */ private bbCodes; /** * The path to save the translations to. Gets the path to save the translations to. */ private translationDirectory; /** * Initializes a new instance of the `BBCodeInstruction` class. */ constructor(options: IBBCodeInstructionOptions); /** * @inheritdoc */ readonly Type: string; /** * Gets the bb-codes provided by this instruction. */ readonly BBCodes: BBCode[]; /** * @inheritdoc */ /** * @inheritdoc */ TranslationDirectory: string; /** * @inheritdoc */ readonly Compiler: BBCodeInstructionCompiler; /** * @inheritdoc */ GetMessages(): { [locale: string]: { [category: string]: { [key: string]: string; }; }; }; }