mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 06:27:02 +03:00
Added draft code for handling "require []"
This commit is contained in:
parent
d9865e3a46
commit
43c669e629
8 changed files with 36 additions and 9 deletions
|
|
@ -13,9 +13,10 @@ class Flag extends Grammar.Command
|
|||
super(identifier);
|
||||
this._variablename = new Grammar.QuotedString;
|
||||
this.list_of_flags = new Grammar.StringList;
|
||||
// this.require = 'imap4flags';
|
||||
}
|
||||
|
||||
get require() { return 'imap4flags'; }
|
||||
|
||||
toString()
|
||||
{
|
||||
return this.identifier + ' ' + this._variablename + ' ' + this.list_of_flags + ';';
|
||||
|
|
@ -79,9 +80,10 @@ class HasFlag extends Grammar.Test
|
|||
this.match_type = ':is',
|
||||
this.variable_list = new Grammar.StringList;
|
||||
this.list_of_flags = new Grammar.StringList;
|
||||
// this.require = 'imap4flags';
|
||||
}
|
||||
|
||||
get require() { return 'imap4flags'; }
|
||||
|
||||
toString()
|
||||
{
|
||||
return 'hasflag'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue