@manuth/woltlab-compiler
Version:
A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components
22 lines • 613 B
JavaScript
import { Category } from "../Category.js";
import { GroupOption } from "./GroupOption.js";
/**
* Represents an option-category for groups.
*/
export class GroupCategory extends Category {
/**
* Initializes a new instance of the {@link GroupCategory `GroupCategory`} class.
*
* @param node
* The node of the category.
*
* @param options
* The options of the category.
*/
constructor(node, options) {
super(node, options, (category, opts) => {
return new GroupOption(category, opts);
});
}
}
//# sourceMappingURL=GroupCategory.js.map