Added draft code for handling "require []"

This commit is contained in:
djmaze 2021-01-15 00:14:45 +01:00
parent d9865e3a46
commit 43c669e629
8 changed files with 36 additions and 9 deletions

View file

@ -115,9 +115,10 @@ class FileInto extends Command
super('fileinto');
// QuotedString / MultiLine
this._mailbox = new Grammar.QuotedString();
// this.require = 'fileinto';
}
get require() { return 'fileinto'; }
toString()
{
return 'fileinto ' + this._mailbox + ';';