woltlab-compiler
Version:
A compiler for WoltLab-Package Archives and WoltLab-Package Components
29 lines • 811 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const Path = require("path");
const FileSystemInstruction_1 = require("../FileSystem/FileSystemInstruction");
/**
* Represents an instruction which executes sql-code.
*/
class SQLInstruction extends FileSystemInstruction_1.FileSystemInstruction {
/**
* Initializes a new instance of the `SQLInstruction` class.
*/
constructor(options) {
super(options);
}
/**
* @inheritdoc
*/
get Type() {
return "sql";
}
/**
* @inheritdoc
*/
MakeDefaultFileName(source) {
return Path.join("scripts", "sql", super.MakeDefaultFileName(source));
}
}
exports.SQLInstruction = SQLInstruction;
//# sourceMappingURL=SQLInstruction.js.map