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

@ -15,9 +15,10 @@ class Body extends Grammar.Test
this.match_type = ':is',
this.body_transform = ''; // :raw, :content <string-list>, :text
this.key_list = new Grammar.StringList;
// this.require = 'body';
}
get require() { return 'body'; }
toString()
{
return 'body'