Andreas Kling
c8270dbe2e
LibJS: Rename ScriptFunction => OrdinaryFunctionObject
...
These are basically what the spec calls "ordinary function objects",
so let's have the name reflect that. :^)
2021-06-27 22:36:04 +02:00
Andreas Kling
6c6dbcfc36
LibJS: Rename Environment Records so they match the spec :^)
...
This patch makes the following name changes:
- ScopeObject => EnvironmentRecord
- LexicalEnvironment => DeclarativeEnvironmentRecord
- WithScope => ObjectEnvironmentRecord
2021-06-21 23:49:50 +02:00
Matthew Olsson
22b17219ff
LibJS: Add the remaining generator objects
...
- %GeneratorFunction%
- %GeneratorFunction.prototype%
- %GeneratorFunction.prototype.prototype%
- %Generator%.prototype
2021-06-19 00:04:57 +01:00
Ali Mohammad Pur
3234697eca
LibJS: Implement generator functions (only in bytecode mode)
2021-06-11 00:30:09 +02:00