@manuth/generator-wsc-package
Version:
A Generator for WoltLab Suite Core Packages.
32 lines • 991 B
JavaScript
import { NodeInstructionFileMapping } from "../FileMappings/NodeInstructionFileMapping.js";
import { FileInstructionComponent } from "./FileInstructionComponent.js";
/**
* Provides a component for generating node-system instructions.
*
* @template TSettings
* The type of the settings of the generator.
*
* @template TOptions
* The type of the options of the generator.
*
* @template TComponentOptions
* The type of the options of the component.
*/
export class NodeSystemComponent extends FileInstructionComponent {
/**
* Initializes a new instance of the {@link NodeSystemComponent `NodeSystemComponent<TSettings, TOptions, TComponentOptions>`} class.
*
* @param generator
* The generator of the component.
*/
constructor(generator) {
super(generator);
}
/**
* @inheritdoc
*/
get InstructionFileMapping() {
return new NodeInstructionFileMapping(this);
}
}
//# sourceMappingURL=NodeSystemComponent.js.map