Merge commit '6e92d2345e8231a44556ce7d416451f5f3e6c398' as 'engine262'

This commit is contained in:
2026-03-27 10:07:29 +05:30
433 changed files with 90478 additions and 0 deletions
@@ -0,0 +1,11 @@
import type { ParseNode } from '../parser/ParseNode.mts';
import { InstantiateGeneratorFunctionExpression } from './all.mts';
/** https://tc39.es/ecma262/#sec-generator-function-definitions-runtime-semantics-evaluation */
// GeneratorExpression :
// `function` `*` `(` FormalParameters `)` `{` GeneratorBody `}`
// `function` `*` BindingIdentifier `(` FormalParameters `)` `{` GeneratorBody `}`
export function Evaluate_GeneratorExpression(GeneratorExpression: ParseNode.GeneratorExpression) {
// 1. Return InstantiateGeneratorFunctionExpression of GeneratorExpression.
return InstantiateGeneratorFunctionExpression(GeneratorExpression);
}