Improved Sieve parser validation

This commit is contained in:
the-djmaze 2024-09-23 11:23:48 +02:00
parent c773b852a1
commit 257d9201f6
3 changed files with 23 additions and 8 deletions

View file

@ -45,8 +45,16 @@ export class GrammarString /*extends String*/
/**
* abstract
*/
export class GrammarComment extends GrammarString
export /*abstract*/ class GrammarComment extends GrammarString
{
/*
constructor()
{
if (this.constructor == GrammarComment) {
throw Error("Abstract class can't be instantiated.");
}
}
*/
}
/**