mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-01-26 19:19:57 +00:00
14 lines
361 B
JavaScript
14 lines
361 B
JavaScript
class BaseTagParser {
|
|
triggerCondition = null;
|
|
|
|
constructor (triggerCondition) {
|
|
if (new.target === BaseCompletionParser) {
|
|
throw new TypeError("Cannot construct abstract BaseCompletionParser directly");
|
|
}
|
|
this.triggerCondition = triggerCondition;
|
|
}
|
|
|
|
parse() {
|
|
throw new NotImplementedError();
|
|
}
|
|
} |