mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-01-26 19:19:57 +00:00
Add base parser
This commit is contained in:
14
javascript/_baseParser.js
Normal file
14
javascript/_baseParser.js
Normal file
@@ -0,0 +1,14 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user