a1111-sd-webui-tagcomplete/javascript/_baseParser.js

14 lines
354 B
JavaScript

class BaseTagParser {
triggerCondition = null;
constructor (triggerCondition) {
if (new.target === BaseTagParser) {
throw new TypeError("Cannot construct abstract BaseCompletionParser directly");
}
this.triggerCondition = triggerCondition;
}
parse() {
throw new NotImplementedError();
}
}