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

@ -20,9 +20,10 @@ class Vacation extends Grammar.Command
':handle' : new Grammar.QuotedString
};
this.reason = ''; // QuotedString / MultiLine
// this.require = 'vacation';
}
get require() { return 'vacation'; }
toString()
{
let result = 'vacation';