Name Description Size
browser.js 0
prod-private-async-generator.js --- description: Private Async Generator (private method definitions in a class expression) esid: prod-MethodDefinition features: [async-iteration, class, class-methods-private] flags: [generated, async] info: | ClassElement : MethodDefinition ... ; ClassElementName : PropertyName PrivateName PrivateName :: # IdentifierName MethodDefinition : ClassElementName ( UniqueFormalParameters ) { FunctionBody } GeneratorMethod AsyncMethod AsyncGeneratorMethod get ClassElementName () { FunctionBody } set ClassElementName ( PropertySetParameterList ) { FunctionBody } GeneratorMethod : ClassElementName ( UniqueFormalParameters ){GeneratorBody} AsyncMethod : async [no LineTerminator here] ClassElementName ( UniqueFormalParameters ) { AsyncFunctionBody } AsyncGeneratorMethod : async [no LineTerminator here]* ClassElementName ( UniqueFormalParameters ) { AsyncGeneratorBody } --- InitializeClassElements ( F, proto ) ... 5. For each item element in order from elements, a. Assert: If element.[[Placement]] is "prototype" or "static", then element.[[Key]] is not a Private Name. b. If element.[[Kind]] is "method" and element.[[Placement]] is "static" or "prototype", i. Let receiver be F if element.[[Placement]] is "static", else let receiver be proto. ii. Perform ? DefineClassElement(receiver, element). InitializeInstanceElements ( O, constructor ) ... 3. Let elements be the value of F's [[Elements]] internal slot. 4. For each item element in order from elements, a. If element.[[Placement]] is "own" and element.[[Kind]] is "method", i. Perform ? DefineClassElement(O, element). DefineClassElement (receiver, element) ... 6. If key is a Private Name, a. Perform ? PrivateFieldDefine(receiver, key, descriptor). PrivateFieldDefine (P, O, desc) ... 6. Append { [[PrivateName]]: P, [[PrivateFieldDescriptor]]: desc } to O.[[PrivateFieldDescriptors]]. --- 4453
prod-private-async-method.js --- description: Private Async Method (private method definitions in a class expression) esid: prod-MethodDefinition features: [async-functions, class, class-methods-private] flags: [generated, async] info: | ClassElement : MethodDefinition ... ; ClassElementName : PropertyName PrivateName PrivateName :: # IdentifierName MethodDefinition : ClassElementName ( UniqueFormalParameters ) { FunctionBody } GeneratorMethod AsyncMethod AsyncGeneratorMethod get ClassElementName () { FunctionBody } set ClassElementName ( PropertySetParameterList ) { FunctionBody } GeneratorMethod : ClassElementName ( UniqueFormalParameters ){GeneratorBody} AsyncMethod : async [no LineTerminator here] ClassElementName ( UniqueFormalParameters ) { AsyncFunctionBody } AsyncGeneratorMethod : async [no LineTerminator here]* ClassElementName ( UniqueFormalParameters ) { AsyncGeneratorBody } --- InitializeClassElements ( F, proto ) ... 5. For each item element in order from elements, a. Assert: If element.[[Placement]] is "prototype" or "static", then element.[[Key]] is not a Private Name. b. If element.[[Kind]] is "method" and element.[[Placement]] is "static" or "prototype", i. Let receiver be F if element.[[Placement]] is "static", else let receiver be proto. ii. Perform ? DefineClassElement(receiver, element). InitializeInstanceElements ( O, constructor ) ... 3. Let elements be the value of F's [[Elements]] internal slot. 4. For each item element in order from elements, a. If element.[[Placement]] is "own" and element.[[Kind]] is "method", i. Perform ? DefineClassElement(O, element). DefineClassElement (receiver, element) ... 6. If key is a Private Name, a. Perform ? PrivateFieldDefine(receiver, key, descriptor). PrivateFieldDefine (P, O, desc) ... 6. Append { [[PrivateName]]: P, [[PrivateFieldDescriptor]]: desc } to O.[[PrivateFieldDescriptors]]. --- 4179
prod-private-generator.js --- description: Private Generator (private method definitions in a class expression) esid: prod-MethodDefinition features: [generators, class, class-methods-private] flags: [generated] info: | ClassElement : MethodDefinition ... ; ClassElementName : PropertyName PrivateName PrivateName :: # IdentifierName MethodDefinition : ClassElementName ( UniqueFormalParameters ) { FunctionBody } GeneratorMethod AsyncMethod AsyncGeneratorMethod get ClassElementName () { FunctionBody } set ClassElementName ( PropertySetParameterList ) { FunctionBody } GeneratorMethod : ClassElementName ( UniqueFormalParameters ){GeneratorBody} AsyncMethod : async [no LineTerminator here] ClassElementName ( UniqueFormalParameters ) { AsyncFunctionBody } AsyncGeneratorMethod : async [no LineTerminator here]* ClassElementName ( UniqueFormalParameters ) { AsyncGeneratorBody } --- InitializeClassElements ( F, proto ) ... 5. For each item element in order from elements, a. Assert: If element.[[Placement]] is "prototype" or "static", then element.[[Key]] is not a Private Name. b. If element.[[Kind]] is "method" and element.[[Placement]] is "static" or "prototype", i. Let receiver be F if element.[[Placement]] is "static", else let receiver be proto. ii. Perform ? DefineClassElement(receiver, element). InitializeInstanceElements ( O, constructor ) ... 3. Let elements be the value of F's [[Elements]] internal slot. 4. For each item element in order from elements, a. If element.[[Placement]] is "own" and element.[[Kind]] is "method", i. Perform ? DefineClassElement(O, element). DefineClassElement (receiver, element) ... 6. If key is a Private Name, a. Perform ? PrivateFieldDefine(receiver, key, descriptor). PrivateFieldDefine (P, O, desc) ... 6. Append { [[PrivateName]]: P, [[PrivateFieldDescriptor]]: desc } to O.[[PrivateFieldDescriptors]]. --- 4195
prod-private-method-initialize-order.js --- description: Private methods are added before any field initializer is run, even if they appear textually later (private method definitions in a class expression) esid: prod-MethodDefinition features: [class-methods-private, class-fields-private, class-fields-public, class] flags: [generated] info: | ClassElement : MethodDefinition ... ; ClassElementName : PropertyName PrivateName PrivateName :: # IdentifierName MethodDefinition : ClassElementName ( UniqueFormalParameters ) { FunctionBody } GeneratorMethod AsyncMethod AsyncGeneratorMethod get ClassElementName () { FunctionBody } set ClassElementName ( PropertySetParameterList ) { FunctionBody } GeneratorMethod : ClassElementName ( UniqueFormalParameters ){GeneratorBody} AsyncMethod : async [no LineTerminator here] ClassElementName ( UniqueFormalParameters ) { AsyncFunctionBody } AsyncGeneratorMethod : async [no LineTerminator here]* ClassElementName ( UniqueFormalParameters ) { AsyncGeneratorBody } --- InitializeClassElements ( F, proto ) ... 5. For each item element in order from elements, a. Assert: If element.[[Placement]] is "prototype" or "static", then element.[[Key]] is not a Private Name. b. If element.[[Kind]] is "method" and element.[[Placement]] is "static" or "prototype", i. Let receiver be F if element.[[Placement]] is "static", else let receiver be proto. ii. Perform ? DefineClassElement(receiver, element). InitializeInstanceElements ( O, constructor ) ... 3. Let elements be the value of F's [[Elements]] internal slot. 4. For each item element in order from elements, a. If element.[[Placement]] is "own" and element.[[Kind]] is "method", i. Perform ? DefineClassElement(O, element). DefineClassElement (receiver, element) ... 6. If key is a Private Name, a. Perform ? PrivateFieldDefine(receiver, key, descriptor). PrivateFieldDefine (P, O, desc) ... 6. Append { [[PrivateName]]: P, [[PrivateFieldDescriptor]]: desc } to O.[[PrivateFieldDescriptors]]. InitializeInstanceElements ( O, constructor ) ... 4. For each item element in order from elements, a. If element.[[Placement]] is "own" and element.[[Kind]] is "method", i. Perform ? DefineClassElement(O, element). 5. For each item element in order from elements, a. If element.[[Placement]] is "own" and element.[[Kind]] is "field", i. Assert: element.[[Descriptor]] does not have a [[Value]], [[Get]] or [[Set]] slot. ii. Perform ? DefineClassElement(O, element). 6. Return. EDITOR'S NOTE: Value properties are added before initializers so that private methods are visible from all initializers. --- 4677
prod-private-method.js --- description: Private Method (private method definitions in a class expression) esid: prod-MethodDefinition features: [class, class-methods-private] flags: [generated] info: | ClassElement : MethodDefinition ... ; ClassElementName : PropertyName PrivateName PrivateName :: # IdentifierName MethodDefinition : ClassElementName ( UniqueFormalParameters ) { FunctionBody } GeneratorMethod AsyncMethod AsyncGeneratorMethod get ClassElementName () { FunctionBody } set ClassElementName ( PropertySetParameterList ) { FunctionBody } GeneratorMethod : ClassElementName ( UniqueFormalParameters ){GeneratorBody} AsyncMethod : async [no LineTerminator here] ClassElementName ( UniqueFormalParameters ) { AsyncFunctionBody } AsyncGeneratorMethod : async [no LineTerminator here]* ClassElementName ( UniqueFormalParameters ) { AsyncGeneratorBody } --- InitializeClassElements ( F, proto ) ... 5. For each item element in order from elements, a. Assert: If element.[[Placement]] is "prototype" or "static", then element.[[Key]] is not a Private Name. b. If element.[[Kind]] is "method" and element.[[Placement]] is "static" or "prototype", i. Let receiver be F if element.[[Placement]] is "static", else let receiver be proto. ii. Perform ? DefineClassElement(receiver, element). InitializeInstanceElements ( O, constructor ) ... 3. Let elements be the value of F's [[Elements]] internal slot. 4. For each item element in order from elements, a. If element.[[Placement]] is "own" and element.[[Kind]] is "method", i. Perform ? DefineClassElement(O, element). DefineClassElement (receiver, element) ... 6. If key is a Private Name, a. Perform ? PrivateFieldDefine(receiver, key, descriptor). PrivateFieldDefine (P, O, desc) ... 6. Append { [[PrivateName]]: P, [[PrivateFieldDescriptor]]: desc } to O.[[PrivateFieldDescriptors]]. --- 3960
shell.js 0