mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +03:00
Improve sieve parser
This commit is contained in:
parent
0a3a5f6d59
commit
c773b852a1
11 changed files with 124 additions and 106 deletions
|
|
@ -8,11 +8,11 @@ import {
|
|||
GrammarString
|
||||
} from 'Sieve/Grammar';
|
||||
|
||||
class rfc5429Command extends ActionCommand
|
||||
class /*abstract*/ rfc5429Command extends ActionCommand
|
||||
{
|
||||
constructor(identifier)
|
||||
constructor()
|
||||
{
|
||||
super(identifier);
|
||||
super();
|
||||
this._reason = new GrammarQuotedString;
|
||||
}
|
||||
|
||||
|
|
@ -44,7 +44,6 @@ class rfc5429Command extends ActionCommand
|
|||
*/
|
||||
export class ErejectCommand extends rfc5429Command
|
||||
{
|
||||
constructor() { super('ereject'); }
|
||||
get require() { return 'ereject'; }
|
||||
}
|
||||
|
||||
|
|
@ -53,6 +52,5 @@ export class ErejectCommand extends rfc5429Command
|
|||
*/
|
||||
export class RejectCommand extends rfc5429Command
|
||||
{
|
||||
constructor() { super('reject'); }
|
||||
get require() { return 'reject'; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue