Name Description Size
browser.js 0
grammar-class-body-ctor-no-heritage.js --- description: A constructor is valid without a super call in the constructor and heritage (class expression) esid: prod-ClassElement features: [class] flags: [generated] info: | ClassTail : ClassHeritageopt { ClassBody } It is a Syntax Error if ClassHeritage is not present and the following algorithm evaluates to true: 1. Let constructor be ConstructorMethod of ClassBody. 2. If constructor is empty, return false. 3. Return HasDirectSuper of constructor. --- 769
grammar-field-accessor.js --- description: Valid accessor FieldDefinition, ClassElementName, PropertyName Syntax (class expression) esid: prod-ClassElement features: [decorators, class] flags: [generated] info: | FieldDefinition[Yield, Await] : ClassElementName[?Yield, ?Await] Initializer[+In, ?Yield, ?Await]opt accessor [no LineTerminator here] ClassElementName[?Yield, ?Await] Initializer[+In, ?Yield, ?Await]opt --- 923
grammar-field-classelementname-initializer-alt.js --- description: FieldDefinition, ClassElementName, PropertyName = Initializer Syntax (class expression) esid: prod-ClassElement features: [class-fields-public, class] flags: [generated] info: | ClassElement : ... FieldDefinition ; ; FieldDefinition : ClassElementName Initializer _opt ClassElementName : PropertyName PrivateName PropertyName : LiteralPropertyName ComputedPropertyName LiteralPropertyName : IdentifierName Initializer : = AssignmentExpression IdentifierName :: IdentifierStart IdentifierName IdentifierPart IdentifierStart :: UnicodeIDStart $ _ \ UnicodeEscapeSequence IdentifierPart :: UnicodeIDContinue $ \ UnicodeEscapeSequence <ZWNJ> <ZWJ> UnicodeIDStart :: any Unicode code point with the Unicode property "ID_Start" UnicodeIDContinue :: any Unicode code point with the Unicode property "ID_Continue" NOTE 3 The sets of code points with Unicode properties "ID_Start" and "ID_Continue" include, respectively, the code points with Unicode properties "Other_ID_Start" and "Other_ID_Continue". --- 1691
grammar-field-classelementname-initializer.js --- description: FieldDefinition, ClassElementName, PropertyName = Initializer Syntax (class expression) esid: prod-ClassElement features: [class-fields-public, class] flags: [generated] info: | ClassElement : ... FieldDefinition ; ; FieldDefinition : ClassElementName Initializer _opt ClassElementName : PropertyName PrivateName PropertyName : LiteralPropertyName ComputedPropertyName LiteralPropertyName : IdentifierName Initializer : = AssignmentExpression IdentifierName :: IdentifierStart IdentifierName IdentifierPart IdentifierStart :: UnicodeIDStart $ _ \ UnicodeEscapeSequence IdentifierPart :: UnicodeIDContinue $ \ UnicodeEscapeSequence <ZWNJ> <ZWJ> UnicodeIDStart :: any Unicode code point with the Unicode property "ID_Start" UnicodeIDContinue :: any Unicode code point with the Unicode property "ID_Continue" NOTE 3 The sets of code points with Unicode properties "ID_Start" and "ID_Continue" include, respectively, the code points with Unicode properties "Other_ID_Start" and "Other_ID_Continue". --- 1570
grammar-field-identifier-alt.js --- description: Valid FieldDefinition, ClassElementName, PropertyName Syntax (class expression) esid: prod-ClassElement features: [class-fields-public, class] flags: [generated] info: | ClassElement : MethodDefinition static MethodDefinition FieldDefinition ; ; FieldDefinition : ClassElementName Initializer _opt ClassElementName : PropertyName PrivateName PropertyName : LiteralPropertyName ComputedPropertyName LiteralPropertyName : IdentifierName StringLiteral NumericLiteral IdentifierName :: IdentifierStart IdentifierName IdentifierPart IdentifierStart :: UnicodeIDStart $ _ \ UnicodeEscapeSequence IdentifierPart :: UnicodeIDContinue $ \ UnicodeEscapeSequence <ZWNJ> <ZWJ> UnicodeIDStart :: any Unicode code point with the Unicode property "ID_Start" UnicodeIDContinue :: any Unicode code point with the Unicode property "ID_Continue" NOTE 3 The sets of code points with Unicode properties "ID_Start" and "ID_Continue" include, respectively, the code points with Unicode properties "Other_ID_Start" and "Other_ID_Continue". --- 1677
grammar-field-identifier.js --- description: Valid FieldDefinition, ClassElementName, PropertyName Syntax (class expression) esid: prod-ClassElement features: [class-fields-public, class] flags: [generated] info: | ClassElement : MethodDefinition static MethodDefinition FieldDefinition ; ; FieldDefinition : ClassElementName Initializer _opt ClassElementName : PropertyName PrivateName PropertyName : LiteralPropertyName ComputedPropertyName LiteralPropertyName : IdentifierName StringLiteral NumericLiteral IdentifierName :: IdentifierStart IdentifierName IdentifierPart IdentifierStart :: UnicodeIDStart $ _ \ UnicodeEscapeSequence IdentifierPart :: UnicodeIDContinue $ \ UnicodeEscapeSequence <ZWNJ> <ZWJ> UnicodeIDStart :: any Unicode code point with the Unicode property "ID_Start" UnicodeIDContinue :: any Unicode code point with the Unicode property "ID_Continue" NOTE 3 The sets of code points with Unicode properties "ID_Start" and "ID_Continue" include, respectively, the code points with Unicode properties "Other_ID_Start" and "Other_ID_Continue". --- 1556
grammar-fields-multi-line.js --- description: Valid multi-line, multi-field (class expression) esid: prod-ClassElement features: [class-fields-public, class] flags: [generated] info: | ClassElement : MethodDefinition static MethodDefinition FieldDefinition ; ; FieldDefinition : ClassElementName Initializer _opt ClassElementName : PropertyName PrivateName --- 644
grammar-privatemeth-duplicate-get-set.js --- description: It's valid if a class contains a private getter and a private setter with the same name (class expression) esid: prod-ClassElement features: [class-methods-private, class] flags: [generated] info: | Static Semantics: Early Errors ClassBody : ClassElementList It is a Syntax Error if PrivateBoundNames of ClassBody contains any duplicate entries, unless the name is used once for a getter and once for a setter and in no other entries. --- 762
grammar-privatemeth-duplicate-meth-nestedclassmeth.js --- description: It's valid if a nested class shadows a private method (class expression) esid: prod-ClassElement features: [class-methods-private, class] flags: [generated] info: | Static Semantics: Early Errors ClassBody : ClassElementList It is a Syntax Error if PrivateBoundNames of ClassBody contains any duplicate entries, unless the name is used once for a getter and once for a setter and in no other entries. --- 779
grammar-privatename-classelementname-initializer-alt.js --- description: Valid PrivateName = Initializer Syntax (class expression) esid: prod-ClassElement features: [class-fields-private, class] flags: [generated] info: | ClassElement : MethodDefinition static MethodDefinition FieldDefinition ; ; FieldDefinition : ClassElementName Initializer _opt ClassElementName : PropertyName PrivateName PrivateName :: # IdentifierName Initializer : = AssignmentExpression IdentifierName :: IdentifierStart IdentifierName IdentifierPart IdentifierStart :: UnicodeIDStart $ _ \ UnicodeEscapeSequence IdentifierPart:: UnicodeIDContinue $ \ UnicodeEscapeSequence <ZWNJ> <ZWJ> UnicodeIDStart:: any Unicode code point with the Unicode property "ID_Start" UnicodeIDContinue:: any Unicode code point with the Unicode property "ID_Continue" NOTE 3 The sets of code points with Unicode properties "ID_Start" and "ID_Continue" include, respectively, the code points with Unicode properties "Other_ID_Start" and "Other_ID_Continue". --- 1636
grammar-privatename-classelementname-initializer.js --- description: Valid PrivateName = Initializer Syntax (class expression) esid: prod-ClassElement features: [class-fields-private, class] flags: [generated] info: | ClassElement : MethodDefinition static MethodDefinition FieldDefinition ; ; FieldDefinition : ClassElementName Initializer _opt ClassElementName : PropertyName PrivateName PrivateName :: # IdentifierName Initializer : = AssignmentExpression IdentifierName :: IdentifierStart IdentifierName IdentifierPart IdentifierStart :: UnicodeIDStart $ _ \ UnicodeEscapeSequence IdentifierPart:: UnicodeIDContinue $ \ UnicodeEscapeSequence <ZWNJ> <ZWJ> UnicodeIDStart:: any Unicode code point with the Unicode property "ID_Start" UnicodeIDContinue:: any Unicode code point with the Unicode property "ID_Continue" NOTE 3 The sets of code points with Unicode properties "ID_Start" and "ID_Continue" include, respectively, the code points with Unicode properties "Other_ID_Start" and "Other_ID_Continue". --- 1515
grammar-privatename-identifier.js --- description: Valid PrivateName Syntax (class expression) esid: prod-ClassElement features: [class-fields-private, class] flags: [generated] info: | ClassElement : MethodDefinition static MethodDefinition FieldDefinition ; ; FieldDefinition : ClassElementName Initializer _opt ClassElementName : PropertyName PrivateName PrivateName :: # IdentifierName IdentifierName :: IdentifierStart IdentifierName IdentifierPart IdentifierStart :: UnicodeIDStart $ _ \ UnicodeEscapeSequence IdentifierPart:: UnicodeIDContinue $ \ UnicodeEscapeSequence <ZWNJ> <ZWJ> UnicodeIDStart:: any Unicode code point with the Unicode property "ID_Start" UnicodeIDContinue:: any Unicode code point with the Unicode property "ID_Continue" NOTE 3 The sets of code points with Unicode properties "ID_Start" and "ID_Continue" include, respectively, the code points with Unicode properties "Other_ID_Start" and "Other_ID_Continue". --- 1411
grammar-privatename-no-initializer-with-method.js --- description: SyntaxError (class expression) esid: prod-ClassElement features: [class-fields-private, class] flags: [generated] info: | ClassElement : MethodDefinition static MethodDefinition FieldDefinition ; ; FieldDefinition : ClassElementName Initializer _opt ClassElementName : PropertyName PrivateName PrivateName :: # IdentifierName --- 697
grammar-privatenames-multi-line.js --- description: SyntaxError (class expression) esid: prod-ClassElement features: [class-fields-private, class] flags: [generated] info: | ClassElement : MethodDefinition static MethodDefinition FieldDefinition ; ; FieldDefinition : ClassElementName Initializer _opt ClassElementName : PropertyName PrivateName PrivateName :: # IdentifierName --- 678
grammar-special-prototype-accessor-meth-valid.js --- description: Accessor Methods can be named "prototype" (class expression) esid: prod-ClassElement features: [class] flags: [generated] includes: [propertyHelper.js] info: | Runtime Semantics: ClassDefinitionEvaluation ClassTail : ClassHeritage_opt { ClassBody_opt } [...] 6. Let proto be OrdinaryObjectCreate(protoParent). [...] 14. Perform MakeConstructor(F, false, proto). [...] 20. For each ClassElement m in order from methods, do a. If IsStatic of m is false, then i. Let status be PropertyDefinitionEvaluation of m with arguments proto and false. [...] Runtime Semantics: PropertyDefinitionEvaluation With parameters object and enumerable. MethodDefinition : get PropertyName ( ) { FunctionBody } [...] 9. Let desc be the PropertyDescriptor { [[Get]]: closure, [[Enumerable]]: enumerable, [[Configurable]]: true }. 10. Return ? DefinePropertyOrThrow(object, propKey, desc). MethodDefinition : set PropertyName ( PropertySetParameterList ) { FunctionBody } [...] 8. Let desc be the PropertyDescriptor { [[Set]]: closure, [[Enumerable]]: enumerable, [[Configurable]]: true }. 9. Return ? DefinePropertyOrThrow(object, propKey, desc). --- 1858
grammar-special-prototype-async-gen-meth-valid.js --- description: Async Generator Methods can be named "prototype" (class expression) esid: prod-ClassElement features: [async-iteration, class] flags: [generated] includes: [propertyHelper.js] info: | Runtime Semantics: ClassDefinitionEvaluation ClassTail : ClassHeritage_opt { ClassBody_opt } [...] 6. Let proto be OrdinaryObjectCreate(protoParent). [...] 14. Perform MakeConstructor(F, false, proto). [...] 20. For each ClassElement m in order from methods, do a. If IsStatic of m is false, then i. Let status be PropertyDefinitionEvaluation of m with arguments proto and false. [...] Runtime Semantics: PropertyDefinitionEvaluation With parameters object and enumerable. AsyncGeneratorMethod : async * PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody } [...] 10. Let desc be PropertyDescriptor { [[Value]]: closure, [[Writable]]: true, [[Enumerable]]: enumerable, [[Configurable]]: true }. 11. Return ? DefinePropertyOrThrow(object, propKey, desc). --- 1608
grammar-special-prototype-async-meth-valid.js --- description: Async Methods can be named "prototype" (class expression) esid: prod-ClassElement features: [async-functions, class] flags: [generated] includes: [propertyHelper.js] info: | Runtime Semantics: ClassDefinitionEvaluation ClassTail : ClassHeritage_opt { ClassBody_opt } [...] 6. Let proto be OrdinaryObjectCreate(protoParent). [...] 14. Perform MakeConstructor(F, false, proto). [...] 20. For each ClassElement m in order from methods, do a. If IsStatic of m is false, then i. Let status be PropertyDefinitionEvaluation of m with arguments proto and false. [...] Runtime Semantics: PropertyDefinitionEvaluation With parameters object and enumerable. AsyncMethod : async PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody } [...] 8. Let desc be the PropertyDescriptor { [[Value]]: closure, [[Writable]]: true, [[Enumerable]]: enumerable, [[Configurable]]: true }. 9. Return ? DefinePropertyOrThrow(object, propKey, desc). --- 1582
grammar-special-prototype-gen-meth-valid.js --- description: Generator Methods can be named "prototype" (class expression) esid: prod-ClassElement features: [generators, class] flags: [generated] includes: [propertyHelper.js] info: | Runtime Semantics: ClassDefinitionEvaluation ClassTail : ClassHeritage_opt { ClassBody_opt } [...] 6. Let proto be OrdinaryObjectCreate(protoParent). [...] 14. Perform MakeConstructor(F, false, proto). [...] 20. For each ClassElement m in order from methods, do a. If IsStatic of m is false, then i. Let status be PropertyDefinitionEvaluation of m with arguments proto and false. [...] Runtime Semantics: PropertyDefinitionEvaluation With parameters object and enumerable. GeneratorMethod : * PropertyName ( UniqueFormalParameters ) { GeneratorBody } [...] 10. Let desc be the PropertyDescriptor { [[Value]]: closure, [[Writable]]: true, [[Enumerable]]: enumerable, [[Configurable]]: true }. 11. Return ? DefinePropertyOrThrow(object, propKey, desc). --- 1573
grammar-special-prototype-meth-valid.js --- description: Methods can be named "prototype" (class expression) esid: prod-ClassElement features: [class] flags: [generated] includes: [propertyHelper.js] info: | Runtime Semantics: ClassDefinitionEvaluation ClassTail : ClassHeritage_opt { ClassBody_opt } [...] 6. Let proto be OrdinaryObjectCreate(protoParent). [...] 14. Perform MakeConstructor(F, false, proto). [...] 20. For each ClassElement m in order from methods, do a. If IsStatic of m is false, then i. Let status be PropertyDefinitionEvaluation of m with arguments proto and false. [...] Runtime Semantics: PropertyDefinitionEvaluation With parameters object and enumerable. MethodDefinition : PropertyName ( UniqueFormalParameters ) { FunctionBody } [...] 3. Let desc be the PropertyDescriptor { [[Value]]: methodDef.[[Closure]], [[Writable]]: true, [[Enumerable]]: enumerable, [[Configurable]]: true }. 4. Return ? DefinePropertyOrThrow(object, methodDef.[[Key]], desc). --- 1566
grammar-static-ctor-accessor-meth-valid.js --- description: Static Accessor Methods can be named constructor (class expression) esid: prod-ClassElement features: [class] flags: [generated] info: | Class Definitions / Static Semantics: Early Errors ClassElement : MethodDefinition It is a Syntax Error if PropName of MethodDefinition is not "constructor" and HasDirectSuper of MethodDefinition is true. It is a Syntax Error if PropName of MethodDefinition is "constructor" and SpecialMethod of MethodDefinition is true. ClassElement : static MethodDefinition It is a Syntax Error if HasDirectSuper of MethodDefinition is true. It is a Syntax Error if PropName of MethodDefinition is "prototype". --- 1232
grammar-static-ctor-async-gen-meth-valid.js --- description: Static Async Generator Methods can be named constructor (class expression) esid: prod-ClassElement features: [async-iteration, class] flags: [generated] info: | Class Definitions / Static Semantics: Early Errors ClassElement : MethodDefinition It is a Syntax Error if PropName of MethodDefinition is not "constructor" and HasDirectSuper of MethodDefinition is true. It is a Syntax Error if PropName of MethodDefinition is "constructor" and SpecialMethod of MethodDefinition is true. ClassElement : static MethodDefinition It is a Syntax Error if HasDirectSuper of MethodDefinition is true. It is a Syntax Error if PropName of MethodDefinition is "prototype". --- 1230
grammar-static-ctor-async-meth-valid.js --- description: Static Methods can be named constructor (class expression) esid: prod-ClassElement features: [async-functions, class] flags: [generated] info: | Class Definitions / Static Semantics: Early Errors ClassElement : MethodDefinition It is a Syntax Error if PropName of MethodDefinition is not "constructor" and HasDirectSuper of MethodDefinition is true. It is a Syntax Error if PropName of MethodDefinition is "constructor" and SpecialMethod of MethodDefinition is true. ClassElement : static MethodDefinition It is a Syntax Error if HasDirectSuper of MethodDefinition is true. It is a Syntax Error if PropName of MethodDefinition is "prototype". --- 1208
grammar-static-ctor-gen-meth-valid.js --- description: Static Generator Methods can be named constructor (class expression) esid: prod-ClassElement features: [generators, class] flags: [generated] info: | Class Definitions / Static Semantics: Early Errors ClassElement : MethodDefinition It is a Syntax Error if PropName of MethodDefinition is not "constructor" and HasDirectSuper of MethodDefinition is true. It is a Syntax Error if PropName of MethodDefinition is "constructor" and SpecialMethod of MethodDefinition is true. ClassElement : static MethodDefinition It is a Syntax Error if HasDirectSuper of MethodDefinition is true. It is a Syntax Error if PropName of MethodDefinition is "prototype". --- 1207
grammar-static-ctor-meth-valid.js --- description: Static Methods can be named constructor (class expression) esid: prod-ClassElement features: [class] flags: [generated] info: | Class Definitions / Static Semantics: Early Errors ClassElement : MethodDefinition It is a Syntax Error if PropName of MethodDefinition is not "constructor" and HasDirectSuper of MethodDefinition is true. It is a Syntax Error if PropName of MethodDefinition is "constructor" and SpecialMethod of MethodDefinition is true. ClassElement : static MethodDefinition It is a Syntax Error if HasDirectSuper of MethodDefinition is true. It is a Syntax Error if PropName of MethodDefinition is "prototype". --- 1179
grammar-static-private-async-gen-meth-prototype.js --- description: Static Async Generator Private Methods can be named "#prototype" (class expression) esid: prod-ClassElement features: [async-iteration, class-static-methods-private, class] flags: [generated] info: | Class Definitions / Static Semantics: Early Errors ClassElement : static MethodDefinition It is a Syntax Error if PropName of MethodDefinition is "prototype" --- 699
grammar-static-private-async-meth-prototype.js --- description: Static Async Private Methods can be named "#prototype" (class expression) esid: prod-ClassElement features: [async-functions, class-static-methods-private, class] flags: [generated] info: | Class Definitions / Static Semantics: Early Errors ClassElement : static MethodDefinition It is a Syntax Error if PropName of MethodDefinition is "prototype" --- 683
grammar-static-private-gen-meth-prototype.js --- description: Static Generator Private Methods can be named "#prototype" (class expression) esid: prod-ClassElement features: [generators, class-static-methods-private, class] flags: [generated] info: | Class Definitions / Static Semantics: Early Errors ClassElement : static MethodDefinition It is a Syntax Error if PropName of MethodDefinition is "prototype" --- 676
grammar-static-private-meth-prototype.js --- description: Static Private Methods can be named "#prototype" (class expression) esid: prod-ClassElement features: [class-static-methods-private, class] flags: [generated] info: | Class Definitions / Static Semantics: Early Errors ClassElement : static MethodDefinition It is a Syntax Error if PropName of MethodDefinition is "prototype" --- 648
shell.js 0