Refactor how attributes and method signatures work
ShawnClake opened this issue · 2 comments
ShawnClake commented
Attributes (Have at least 1):
- static - Denotes being able to be called on an imported file rather than an instance
- async - Denotes running this method in a new thread
Examples
- static async myFunc() {}
- static myFunc() {}
- async myFunc() {}
- myFunc() {}
- static myFunc() {}
- async myFunc() {}
ShawnClake commented
this has been revised to support:
- script
- static
- async
Examples
- script myfunc() {}
- script static myfunc() {}
- script static async myfunc() {}
- static myfunc() {}
- static async myfunc() {}
- async myfunc() {}
ShawnClake commented
grammar added, not implemented