mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
Fix Sieve QuotedString handling
This commit is contained in:
parent
257d9201f6
commit
61c2eefec1
13 changed files with 185 additions and 104 deletions
|
|
@ -13,10 +13,13 @@ export class EnvironmentTest extends TestCommand
|
|||
constructor()
|
||||
{
|
||||
super();
|
||||
this.name = new GrammarQuotedString;
|
||||
this._name = new GrammarQuotedString;
|
||||
this.key_list = new GrammarStringList;
|
||||
}
|
||||
|
||||
get name() { return this._name.value; }
|
||||
set name(v) { this._name.value = v; }
|
||||
|
||||
get require() { return 'environment'; }
|
||||
|
||||
toString()
|
||||
|
|
@ -24,13 +27,13 @@ export class EnvironmentTest extends TestCommand
|
|||
return 'environment'
|
||||
+ (this.comparator ? ' :comparator ' + this.comparator : '')
|
||||
+ ' ' + this.match_type
|
||||
+ ' ' + this.name
|
||||
+ ' ' + this._name
|
||||
+ ' ' + this.key_list;
|
||||
}
|
||||
|
||||
pushArguments(args)
|
||||
{
|
||||
this.key_list = args.pop();
|
||||
this.name = args.pop();
|
||||
this._name = args.pop();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue