UNPKG

woltlab-compiler

Version:

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

35 lines (34 loc) 924 B
import { Theme } from "../../Customization/Presentation/Themes/Theme"; import { WoltLabXMLCompiler } from "../WoltLabXMLCompiler"; /** * Provides the functionality to compile theme-files. */ export declare class ThemeFileCompiler extends WoltLabXMLCompiler<Theme> { /** * The name to save the variables to. */ private variableFileName; /** * Initializes a new instance of the `ThemeFileCompiler<T>` class. * * @param item * The item to compile. */ constructor(item: Theme, variableFileName: string); /** * @inheritdoc */ protected readonly TagName: string; /** * @inheritdoc */ protected readonly SchemaLocation: string; /** * @inheritdoc */ protected CreateDocument(): Document; /** * Gets or sets the filename to save variables to. */ VariableFileName: string; }