@manuth/woltlab-compiler
Version:
A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components
19 lines • 575 B
JavaScript
import { Node } from "../NodeSystem/Node.js";
import { LocalizationItem } from "./LocalizationItem.js";
/**
* Represents a node which provides localizations.
*/
export class LocalizationNode extends Node {
/**
* Initializes a new instance of the {@link LocalizationNode `LocalizationNode`} class.
*
* @param options
* The options of the localization-node.
*/
constructor(options) {
super(options, (node, opts) => {
return new LocalizationItem(node, opts);
});
}
}
//# sourceMappingURL=LocalizationNode.js.map