diff --git a/javascript/_baseParser.js b/javascript/_baseParser.js new file mode 100644 index 0000000..6c468cf --- /dev/null +++ b/javascript/_baseParser.js @@ -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(); + } +} \ No newline at end of file