14 lines
354 B
JavaScript
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();
|
|
}
|
|
} |