mirror of
https://github.com/tc39/test262.git
synced 2025-07-29 17:04:31 +02:00
Rebuild generated tests
This adds new tests because the tests that previously had name conflicts are now renamed.
This commit is contained in:
parent
db39fee915
commit
e7895c53d2
@ -0,0 +1,54 @@
|
|||||||
|
// This file was procedurally generated from the following sources:
|
||||||
|
// - src/decorator/decorator-call-expr-identifier-reference-yield.case
|
||||||
|
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
||||||
|
/*---
|
||||||
|
description: Decorator @ DecoratorCallExpression (Valid syntax for decorator on class.)
|
||||||
|
esid: prod-ClassDeclaration
|
||||||
|
features: [class, decorators]
|
||||||
|
flags: [generated, noStrict]
|
||||||
|
info: |
|
||||||
|
ClassElement[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
||||||
|
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
||||||
|
ClassStaticBlock
|
||||||
|
;
|
||||||
|
|
||||||
|
DecoratorList[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
|
|
||||||
|
Decorator[Yield, Await] :
|
||||||
|
@ DecoratorMemberExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorParenthesizedExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorCallExpression[?Yield, ?Await]
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
DecoratorCallExpression[Yield, Await] :
|
||||||
|
DecoratorMemberExpression[?Yield, ?Await] Arguments[?Yield, ?Await]
|
||||||
|
|
||||||
|
DecoratorMemberExpression[Yield, Await] :
|
||||||
|
IdentifierReference[?Yield, ?Await]
|
||||||
|
PrivateIdentifier
|
||||||
|
DecoratorMemberExpression[?Yield, ?Await] . IdentifierName
|
||||||
|
|
||||||
|
IdentifierReference[Yield, Await] :
|
||||||
|
[~Yield] yield
|
||||||
|
...
|
||||||
|
|
||||||
|
---*/
|
||||||
|
function decorator() {
|
||||||
|
return () => {};
|
||||||
|
}
|
||||||
|
var yield = decorator;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class C {
|
||||||
|
@yield() method() {}
|
||||||
|
@yield() static method() {}
|
||||||
|
@yield() field;
|
||||||
|
@yield() static field;
|
||||||
|
}
|
@ -0,0 +1,85 @@
|
|||||||
|
// This file was procedurally generated from the following sources:
|
||||||
|
// - src/decorator/decorator-call-expr-identifier-reference.case
|
||||||
|
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
||||||
|
/*---
|
||||||
|
description: Decorator @ DecoratorCallExpression (Valid syntax for decorator on class.)
|
||||||
|
esid: prod-ClassDeclaration
|
||||||
|
features: [class, decorators]
|
||||||
|
flags: [generated]
|
||||||
|
info: |
|
||||||
|
ClassElement[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
||||||
|
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
||||||
|
ClassStaticBlock
|
||||||
|
;
|
||||||
|
|
||||||
|
DecoratorList[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
|
|
||||||
|
Decorator[Yield, Await] :
|
||||||
|
@ DecoratorMemberExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorParenthesizedExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorCallExpression[?Yield, ?Await]
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
DecoratorCallExpression[Yield, Await] :
|
||||||
|
DecoratorMemberExpression[?Yield, ?Await] Arguments[?Yield, ?Await]
|
||||||
|
|
||||||
|
DecoratorMemberExpression[Yield, Await] :
|
||||||
|
IdentifierReference[?Yield, ?Await]
|
||||||
|
PrivateIdentifier
|
||||||
|
DecoratorMemberExpression[?Yield, ?Await] . IdentifierName
|
||||||
|
|
||||||
|
IdentifierReference[Yield, Await] :
|
||||||
|
Identifier
|
||||||
|
[~Yield] yield
|
||||||
|
[~Await] await
|
||||||
|
|
||||||
|
---*/
|
||||||
|
function decorator() {
|
||||||
|
return () => {};
|
||||||
|
}
|
||||||
|
var $ = decorator;
|
||||||
|
var _ = decorator;
|
||||||
|
var \u{6F} = decorator;
|
||||||
|
var \u2118 = decorator;
|
||||||
|
var ZW_\u200C_NJ = decorator;
|
||||||
|
var ZW_\u200D_J = decorator;
|
||||||
|
var await = decorator;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class C {
|
||||||
|
@$()
|
||||||
|
@_()
|
||||||
|
@\u{6F}()
|
||||||
|
@\u2118()
|
||||||
|
@ZW_\u200C_NJ()
|
||||||
|
@ZW_\u200D_J()
|
||||||
|
@await() method() {}
|
||||||
|
@$()
|
||||||
|
@_()
|
||||||
|
@\u{6F}()
|
||||||
|
@\u2118()
|
||||||
|
@ZW_\u200C_NJ()
|
||||||
|
@ZW_\u200D_J()
|
||||||
|
@await() static method() {}
|
||||||
|
@$()
|
||||||
|
@_()
|
||||||
|
@\u{6F}()
|
||||||
|
@\u2118()
|
||||||
|
@ZW_\u200C_NJ()
|
||||||
|
@ZW_\u200D_J()
|
||||||
|
@await() field;
|
||||||
|
@$()
|
||||||
|
@_()
|
||||||
|
@\u{6F}()
|
||||||
|
@\u2118()
|
||||||
|
@ZW_\u200C_NJ()
|
||||||
|
@ZW_\u200D_J()
|
||||||
|
@await() static field;
|
||||||
|
}
|
@ -0,0 +1,81 @@
|
|||||||
|
// This file was procedurally generated from the following sources:
|
||||||
|
// - src/decorator/decorator-member-expr-decorator-member-expr.case
|
||||||
|
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
||||||
|
/*---
|
||||||
|
description: Decorator @ DecoratorMemberExpression (Valid syntax for decorator on class.)
|
||||||
|
esid: prod-ClassDeclaration
|
||||||
|
features: [class, decorators]
|
||||||
|
flags: [generated]
|
||||||
|
info: |
|
||||||
|
ClassElement[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
||||||
|
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
||||||
|
ClassStaticBlock
|
||||||
|
;
|
||||||
|
|
||||||
|
DecoratorList[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
|
|
||||||
|
Decorator[Yield, Await] :
|
||||||
|
@ DecoratorMemberExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorParenthesizedExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorCallExpression[?Yield, ?Await]
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
DecoratorMemberExpression[Yield, Await] :
|
||||||
|
IdentifierReference[?Yield, ?Await]
|
||||||
|
PrivateIdentifier
|
||||||
|
DecoratorMemberExpression[?Yield, ?Await] . IdentifierName
|
||||||
|
|
||||||
|
---*/
|
||||||
|
let ns = {
|
||||||
|
$() {},
|
||||||
|
_() {},
|
||||||
|
\u{6F}() {},
|
||||||
|
\u2118() {},
|
||||||
|
ZW_\u200C_NJ() {},
|
||||||
|
ZW_\u200D_J() {},
|
||||||
|
yield() {},
|
||||||
|
await() {},
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class C {
|
||||||
|
@ns.$
|
||||||
|
@ns._
|
||||||
|
@ns.\u{6F}
|
||||||
|
@ns.\u2118
|
||||||
|
@ns.ZW_\u200C_NJ
|
||||||
|
@ns.ZW_\u200D_J
|
||||||
|
@ns.yield
|
||||||
|
@ns.await method() {}
|
||||||
|
@ns.$
|
||||||
|
@ns._
|
||||||
|
@ns.\u{6F}
|
||||||
|
@ns.\u2118
|
||||||
|
@ns.ZW_\u200C_NJ
|
||||||
|
@ns.ZW_\u200D_J
|
||||||
|
@ns.yield
|
||||||
|
@ns.await static method() {}
|
||||||
|
@ns.$
|
||||||
|
@ns._
|
||||||
|
@ns.\u{6F}
|
||||||
|
@ns.\u2118
|
||||||
|
@ns.ZW_\u200C_NJ
|
||||||
|
@ns.ZW_\u200D_J
|
||||||
|
@ns.yield
|
||||||
|
@ns.await field;
|
||||||
|
@ns.$
|
||||||
|
@ns._
|
||||||
|
@ns.\u{6F}
|
||||||
|
@ns.\u2118
|
||||||
|
@ns.ZW_\u200C_NJ
|
||||||
|
@ns.ZW_\u200D_J
|
||||||
|
@ns.yield
|
||||||
|
@ns.await static field;
|
||||||
|
}
|
@ -0,0 +1,43 @@
|
|||||||
|
// This file was procedurally generated from the following sources:
|
||||||
|
// - src/decorator/decorator-member-expr-identifier-reference-yield.case
|
||||||
|
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
||||||
|
/*---
|
||||||
|
description: Decorator @ DecoratorMemberExpression (Valid syntax for decorator on class.)
|
||||||
|
esid: prod-ClassDeclaration
|
||||||
|
features: [class, decorators]
|
||||||
|
flags: [generated, noStrict]
|
||||||
|
info: |
|
||||||
|
ClassElement[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
||||||
|
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
||||||
|
ClassStaticBlock
|
||||||
|
;
|
||||||
|
|
||||||
|
DecoratorList[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
|
|
||||||
|
Decorator[Yield, Await] :
|
||||||
|
@ DecoratorMemberExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorParenthesizedExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorCallExpression[?Yield, ?Await]
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
IdentifierReference[Yield, Await] :
|
||||||
|
[~Yield] yield
|
||||||
|
...
|
||||||
|
|
||||||
|
---*/
|
||||||
|
function yield() {}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class C {
|
||||||
|
@yield method() {}
|
||||||
|
@yield static method() {}
|
||||||
|
@yield field;
|
||||||
|
@yield static field;
|
||||||
|
}
|
@ -0,0 +1,74 @@
|
|||||||
|
// This file was procedurally generated from the following sources:
|
||||||
|
// - src/decorator/decorator-member-expr-identifier-reference.case
|
||||||
|
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
||||||
|
/*---
|
||||||
|
description: Decorator @ DecoratorMemberExpression (Valid syntax for decorator on class.)
|
||||||
|
esid: prod-ClassDeclaration
|
||||||
|
features: [class, decorators]
|
||||||
|
flags: [generated]
|
||||||
|
info: |
|
||||||
|
ClassElement[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
||||||
|
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
||||||
|
ClassStaticBlock
|
||||||
|
;
|
||||||
|
|
||||||
|
DecoratorList[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
|
|
||||||
|
Decorator[Yield, Await] :
|
||||||
|
@ DecoratorMemberExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorParenthesizedExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorCallExpression[?Yield, ?Await]
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
IdentifierReference[Yield, Await] :
|
||||||
|
Identifier
|
||||||
|
[~Yield] yield
|
||||||
|
[~Await] await
|
||||||
|
|
||||||
|
---*/
|
||||||
|
function $() {}
|
||||||
|
function _() {}
|
||||||
|
function \u{6F}() {}
|
||||||
|
function \u2118() {}
|
||||||
|
function ZW_\u200C_NJ() {}
|
||||||
|
function ZW_\u200D_J() {}
|
||||||
|
function await() {}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class C {
|
||||||
|
@$
|
||||||
|
@_
|
||||||
|
@\u{6F}
|
||||||
|
@\u2118
|
||||||
|
@ZW_\u200C_NJ
|
||||||
|
@ZW_\u200D_J
|
||||||
|
@await method() {}
|
||||||
|
@$
|
||||||
|
@_
|
||||||
|
@\u{6F}
|
||||||
|
@\u2118
|
||||||
|
@ZW_\u200C_NJ
|
||||||
|
@ZW_\u200D_J
|
||||||
|
@await static method() {}
|
||||||
|
@$
|
||||||
|
@_
|
||||||
|
@\u{6F}
|
||||||
|
@\u2118
|
||||||
|
@ZW_\u200C_NJ
|
||||||
|
@ZW_\u200D_J
|
||||||
|
@await field;
|
||||||
|
@$
|
||||||
|
@_
|
||||||
|
@\u{6F}
|
||||||
|
@\u2118
|
||||||
|
@ZW_\u200C_NJ
|
||||||
|
@ZW_\u200D_J
|
||||||
|
@await static field;
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
// This file was procedurally generated from the following sources:
|
||||||
|
// - src/decorator/decorator-parenthesized-expr-identifier-reference-yield.case
|
||||||
|
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
||||||
|
/*---
|
||||||
|
description: Decorator @ DecoratorParenthesizedExpression (Valid syntax for decorator on class.)
|
||||||
|
esid: prod-ClassDeclaration
|
||||||
|
features: [class, decorators]
|
||||||
|
flags: [generated, noStrict]
|
||||||
|
info: |
|
||||||
|
ClassElement[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
||||||
|
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
||||||
|
ClassStaticBlock
|
||||||
|
;
|
||||||
|
|
||||||
|
DecoratorList[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
|
|
||||||
|
Decorator[Yield, Await] :
|
||||||
|
@ DecoratorMemberExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorParenthesizedExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorCallExpression[?Yield, ?Await]
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
DecoratorParenthesizedExpression[Yield, Await] :
|
||||||
|
( Expression[+In, ?Yield, ?Await] )
|
||||||
|
|
||||||
|
PrimaryExpression[Yield, Await] :
|
||||||
|
this
|
||||||
|
IdentifierReference[?Yield, ?Await]
|
||||||
|
Literal
|
||||||
|
ArrayLiteral[?Yield, ?Await]
|
||||||
|
ObjectLiteral[?Yield, ?Await]
|
||||||
|
FunctionExpression
|
||||||
|
ClassExpression[?Yield, ?Await]
|
||||||
|
GeneratorExpression
|
||||||
|
AsyncFunctionExpression
|
||||||
|
AsyncGeneratorExpression
|
||||||
|
RegularExpressionLiteral
|
||||||
|
TemplateLiteral[?Yield, ?Await, ~Tagged]
|
||||||
|
CoverParenthesizedExpressionAndArrowParameterList[?Yield, ?Await]
|
||||||
|
|
||||||
|
IdentifierReference[Yield, Await] :
|
||||||
|
[~Yield] yield
|
||||||
|
...
|
||||||
|
|
||||||
|
---*/
|
||||||
|
function yield() {}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class C {
|
||||||
|
@(yield) method() {}
|
||||||
|
@(yield) static method() {}
|
||||||
|
@(yield) field;
|
||||||
|
@(yield) static field;
|
||||||
|
}
|
@ -0,0 +1,87 @@
|
|||||||
|
// This file was procedurally generated from the following sources:
|
||||||
|
// - src/decorator/decorator-parenthesized-expr-identifier-reference.case
|
||||||
|
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
||||||
|
/*---
|
||||||
|
description: Decorator @ DecoratorParenthesizedExpression (Valid syntax for decorator on class.)
|
||||||
|
esid: prod-ClassDeclaration
|
||||||
|
features: [class, decorators]
|
||||||
|
flags: [generated]
|
||||||
|
info: |
|
||||||
|
ClassElement[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
||||||
|
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
||||||
|
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
||||||
|
ClassStaticBlock
|
||||||
|
;
|
||||||
|
|
||||||
|
DecoratorList[Yield, Await] :
|
||||||
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
|
|
||||||
|
Decorator[Yield, Await] :
|
||||||
|
@ DecoratorMemberExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorParenthesizedExpression[?Yield, ?Await]
|
||||||
|
@ DecoratorCallExpression[?Yield, ?Await]
|
||||||
|
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
DecoratorParenthesizedExpression[Yield, Await] :
|
||||||
|
( Expression[+In, ?Yield, ?Await] )
|
||||||
|
|
||||||
|
PrimaryExpression[Yield, Await] :
|
||||||
|
this
|
||||||
|
IdentifierReference[?Yield, ?Await]
|
||||||
|
Literal
|
||||||
|
ArrayLiteral[?Yield, ?Await]
|
||||||
|
ObjectLiteral[?Yield, ?Await]
|
||||||
|
FunctionExpression
|
||||||
|
ClassExpression[?Yield, ?Await]
|
||||||
|
GeneratorExpression
|
||||||
|
AsyncFunctionExpression
|
||||||
|
AsyncGeneratorExpression
|
||||||
|
RegularExpressionLiteral
|
||||||
|
TemplateLiteral[?Yield, ?Await, ~Tagged]
|
||||||
|
CoverParenthesizedExpressionAndArrowParameterList[?Yield, ?Await]
|
||||||
|
|
||||||
|
---*/
|
||||||
|
function $() {}
|
||||||
|
function _() {}
|
||||||
|
function \u{6F}() {}
|
||||||
|
function \u2118() {}
|
||||||
|
function ZW_\u200C_NJ() {}
|
||||||
|
function ZW_\u200D_J() {}
|
||||||
|
function await() {}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class C {
|
||||||
|
@($)
|
||||||
|
@(_)
|
||||||
|
@(\u{6F})
|
||||||
|
@(\u2118)
|
||||||
|
@(ZW_\u200C_NJ)
|
||||||
|
@(ZW_\u200D_J)
|
||||||
|
@(await) method() {}
|
||||||
|
@($)
|
||||||
|
@(_)
|
||||||
|
@(\u{6F})
|
||||||
|
@(\u2118)
|
||||||
|
@(ZW_\u200C_NJ)
|
||||||
|
@(ZW_\u200D_J)
|
||||||
|
@(await) static method() {}
|
||||||
|
@($)
|
||||||
|
@(_)
|
||||||
|
@(\u{6F})
|
||||||
|
@(\u2118)
|
||||||
|
@(ZW_\u200C_NJ)
|
||||||
|
@(ZW_\u200D_J)
|
||||||
|
@(await) field;
|
||||||
|
@($)
|
||||||
|
@(_)
|
||||||
|
@(\u{6F})
|
||||||
|
@(\u2118)
|
||||||
|
@(ZW_\u200C_NJ)
|
||||||
|
@(ZW_\u200D_J)
|
||||||
|
@(await) static field;
|
||||||
|
}
|
@ -1,19 +1,15 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/decorator/decorator-call-expr-identifier-reference-yield.case
|
// - src/decorator/decorator-call-expr-identifier-reference-yield.case
|
||||||
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
// - src/decorator/syntax/valid/cls-decl-decorators-valid-syntax.template
|
||||||
/*---
|
/*---
|
||||||
description: Decorator @ DecoratorCallExpression (Valid syntax for decorator on class.)
|
description: Decorator @ DecoratorCallExpression (Valid syntax for decorator on class.)
|
||||||
esid: prod-ClassDeclaration
|
esid: prod-ClassDeclaration
|
||||||
features: [class, decorators]
|
features: [class, decorators]
|
||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
info: |
|
info: |
|
||||||
ClassElement[Yield, Await] :
|
ClassDeclaration[Yield, Await, Default] :
|
||||||
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt class BindingIdentifier[?Yield, ?Await] ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
[+Default] DecoratorList[?Yield, ?Await]opt class ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
|
||||||
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
|
||||||
ClassStaticBlock
|
|
||||||
;
|
|
||||||
|
|
||||||
DecoratorList[Yield, Await] :
|
DecoratorList[Yield, Await] :
|
||||||
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
@ -46,9 +42,4 @@ var yield = decorator;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class C {
|
@yield() class C {}
|
||||||
@yield() method() {}
|
|
||||||
@yield() static method() {}
|
|
||||||
@yield() field;
|
|
||||||
@yield() static field;
|
|
||||||
}
|
|
||||||
|
@ -1,19 +1,15 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/decorator/decorator-call-expr-identifier-reference.case
|
// - src/decorator/decorator-call-expr-identifier-reference.case
|
||||||
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
// - src/decorator/syntax/valid/cls-decl-decorators-valid-syntax.template
|
||||||
/*---
|
/*---
|
||||||
description: Decorator @ DecoratorCallExpression (Valid syntax for decorator on class.)
|
description: Decorator @ DecoratorCallExpression (Valid syntax for decorator on class.)
|
||||||
esid: prod-ClassDeclaration
|
esid: prod-ClassDeclaration
|
||||||
features: [class, decorators]
|
features: [class, decorators]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
info: |
|
info: |
|
||||||
ClassElement[Yield, Await] :
|
ClassDeclaration[Yield, Await, Default] :
|
||||||
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt class BindingIdentifier[?Yield, ?Await] ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
[+Default] DecoratorList[?Yield, ?Await]opt class ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
|
||||||
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
|
||||||
ClassStaticBlock
|
|
||||||
;
|
|
||||||
|
|
||||||
DecoratorList[Yield, Await] :
|
DecoratorList[Yield, Await] :
|
||||||
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
@ -53,33 +49,10 @@ var await = decorator;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class C {
|
|
||||||
@$()
|
@$()
|
||||||
@_()
|
@_()
|
||||||
@\u{6F}()
|
@\u{6F}()
|
||||||
@\u2118()
|
@\u2118()
|
||||||
@ZW_\u200C_NJ()
|
@ZW_\u200C_NJ()
|
||||||
@ZW_\u200D_J()
|
@ZW_\u200D_J()
|
||||||
@await() method() {}
|
@await() class C {}
|
||||||
@$()
|
|
||||||
@_()
|
|
||||||
@\u{6F}()
|
|
||||||
@\u2118()
|
|
||||||
@ZW_\u200C_NJ()
|
|
||||||
@ZW_\u200D_J()
|
|
||||||
@await() static method() {}
|
|
||||||
@$()
|
|
||||||
@_()
|
|
||||||
@\u{6F}()
|
|
||||||
@\u2118()
|
|
||||||
@ZW_\u200C_NJ()
|
|
||||||
@ZW_\u200D_J()
|
|
||||||
@await() field;
|
|
||||||
@$()
|
|
||||||
@_()
|
|
||||||
@\u{6F}()
|
|
||||||
@\u2118()
|
|
||||||
@ZW_\u200C_NJ()
|
|
||||||
@ZW_\u200D_J()
|
|
||||||
@await() static field;
|
|
||||||
}
|
|
||||||
|
@ -1,19 +1,15 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/decorator/decorator-member-expr-decorator-member-expr.case
|
// - src/decorator/decorator-member-expr-decorator-member-expr.case
|
||||||
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
// - src/decorator/syntax/valid/cls-decl-decorators-valid-syntax.template
|
||||||
/*---
|
/*---
|
||||||
description: Decorator @ DecoratorMemberExpression (Valid syntax for decorator on class.)
|
description: Decorator @ DecoratorMemberExpression (Valid syntax for decorator on class.)
|
||||||
esid: prod-ClassDeclaration
|
esid: prod-ClassDeclaration
|
||||||
features: [class, decorators]
|
features: [class, decorators]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
info: |
|
info: |
|
||||||
ClassElement[Yield, Await] :
|
ClassDeclaration[Yield, Await, Default] :
|
||||||
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt class BindingIdentifier[?Yield, ?Await] ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
[+Default] DecoratorList[?Yield, ?Await]opt class ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
|
||||||
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
|
||||||
ClassStaticBlock
|
|
||||||
;
|
|
||||||
|
|
||||||
DecoratorList[Yield, Await] :
|
DecoratorList[Yield, Await] :
|
||||||
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
@ -45,7 +41,6 @@ let ns = {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class C {
|
|
||||||
@ns.$
|
@ns.$
|
||||||
@ns._
|
@ns._
|
||||||
@ns.\u{6F}
|
@ns.\u{6F}
|
||||||
@ -53,29 +48,4 @@ class C {
|
|||||||
@ns.ZW_\u200C_NJ
|
@ns.ZW_\u200C_NJ
|
||||||
@ns.ZW_\u200D_J
|
@ns.ZW_\u200D_J
|
||||||
@ns.yield
|
@ns.yield
|
||||||
@ns.await method() {}
|
@ns.await class C {}
|
||||||
@ns.$
|
|
||||||
@ns._
|
|
||||||
@ns.\u{6F}
|
|
||||||
@ns.\u2118
|
|
||||||
@ns.ZW_\u200C_NJ
|
|
||||||
@ns.ZW_\u200D_J
|
|
||||||
@ns.yield
|
|
||||||
@ns.await static method() {}
|
|
||||||
@ns.$
|
|
||||||
@ns._
|
|
||||||
@ns.\u{6F}
|
|
||||||
@ns.\u2118
|
|
||||||
@ns.ZW_\u200C_NJ
|
|
||||||
@ns.ZW_\u200D_J
|
|
||||||
@ns.yield
|
|
||||||
@ns.await field;
|
|
||||||
@ns.$
|
|
||||||
@ns._
|
|
||||||
@ns.\u{6F}
|
|
||||||
@ns.\u2118
|
|
||||||
@ns.ZW_\u200C_NJ
|
|
||||||
@ns.ZW_\u200D_J
|
|
||||||
@ns.yield
|
|
||||||
@ns.await static field;
|
|
||||||
}
|
|
||||||
|
@ -1,19 +1,15 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/decorator/decorator-member-expr-identifier-reference-yield.case
|
// - src/decorator/decorator-member-expr-identifier-reference-yield.case
|
||||||
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
// - src/decorator/syntax/valid/cls-decl-decorators-valid-syntax.template
|
||||||
/*---
|
/*---
|
||||||
description: Decorator @ DecoratorMemberExpression (Valid syntax for decorator on class.)
|
description: Decorator @ DecoratorMemberExpression (Valid syntax for decorator on class.)
|
||||||
esid: prod-ClassDeclaration
|
esid: prod-ClassDeclaration
|
||||||
features: [class, decorators]
|
features: [class, decorators]
|
||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
info: |
|
info: |
|
||||||
ClassElement[Yield, Await] :
|
ClassDeclaration[Yield, Await, Default] :
|
||||||
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt class BindingIdentifier[?Yield, ?Await] ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
[+Default] DecoratorList[?Yield, ?Await]opt class ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
|
||||||
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
|
||||||
ClassStaticBlock
|
|
||||||
;
|
|
||||||
|
|
||||||
DecoratorList[Yield, Await] :
|
DecoratorList[Yield, Await] :
|
||||||
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
@ -35,9 +31,4 @@ function yield() {}
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class C {
|
@yield class C {}
|
||||||
@yield method() {}
|
|
||||||
@yield static method() {}
|
|
||||||
@yield field;
|
|
||||||
@yield static field;
|
|
||||||
}
|
|
||||||
|
@ -1,19 +1,15 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/decorator/decorator-member-expr-identifier-reference.case
|
// - src/decorator/decorator-member-expr-identifier-reference.case
|
||||||
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
// - src/decorator/syntax/valid/cls-decl-decorators-valid-syntax.template
|
||||||
/*---
|
/*---
|
||||||
description: Decorator @ DecoratorMemberExpression (Valid syntax for decorator on class.)
|
description: Decorator @ DecoratorMemberExpression (Valid syntax for decorator on class.)
|
||||||
esid: prod-ClassDeclaration
|
esid: prod-ClassDeclaration
|
||||||
features: [class, decorators]
|
features: [class, decorators]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
info: |
|
info: |
|
||||||
ClassElement[Yield, Await] :
|
ClassDeclaration[Yield, Await, Default] :
|
||||||
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt class BindingIdentifier[?Yield, ?Await] ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
[+Default] DecoratorList[?Yield, ?Await]opt class ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
|
||||||
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
|
||||||
ClassStaticBlock
|
|
||||||
;
|
|
||||||
|
|
||||||
DecoratorList[Yield, Await] :
|
DecoratorList[Yield, Await] :
|
||||||
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
@ -42,33 +38,10 @@ function await() {}
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class C {
|
|
||||||
@$
|
@$
|
||||||
@_
|
@_
|
||||||
@\u{6F}
|
@\u{6F}
|
||||||
@\u2118
|
@\u2118
|
||||||
@ZW_\u200C_NJ
|
@ZW_\u200C_NJ
|
||||||
@ZW_\u200D_J
|
@ZW_\u200D_J
|
||||||
@await method() {}
|
@await class C {}
|
||||||
@$
|
|
||||||
@_
|
|
||||||
@\u{6F}
|
|
||||||
@\u2118
|
|
||||||
@ZW_\u200C_NJ
|
|
||||||
@ZW_\u200D_J
|
|
||||||
@await static method() {}
|
|
||||||
@$
|
|
||||||
@_
|
|
||||||
@\u{6F}
|
|
||||||
@\u2118
|
|
||||||
@ZW_\u200C_NJ
|
|
||||||
@ZW_\u200D_J
|
|
||||||
@await field;
|
|
||||||
@$
|
|
||||||
@_
|
|
||||||
@\u{6F}
|
|
||||||
@\u2118
|
|
||||||
@ZW_\u200C_NJ
|
|
||||||
@ZW_\u200D_J
|
|
||||||
@await static field;
|
|
||||||
}
|
|
||||||
|
@ -1,19 +1,15 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/decorator/decorator-parenthesized-expr-identifier-reference-yield.case
|
// - src/decorator/decorator-parenthesized-expr-identifier-reference-yield.case
|
||||||
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
// - src/decorator/syntax/valid/cls-decl-decorators-valid-syntax.template
|
||||||
/*---
|
/*---
|
||||||
description: Decorator @ DecoratorParenthesizedExpression (Valid syntax for decorator on class.)
|
description: Decorator @ DecoratorParenthesizedExpression (Valid syntax for decorator on class.)
|
||||||
esid: prod-ClassDeclaration
|
esid: prod-ClassDeclaration
|
||||||
features: [class, decorators]
|
features: [class, decorators]
|
||||||
flags: [generated, noStrict]
|
flags: [generated, noStrict]
|
||||||
info: |
|
info: |
|
||||||
ClassElement[Yield, Await] :
|
ClassDeclaration[Yield, Await, Default] :
|
||||||
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt class BindingIdentifier[?Yield, ?Await] ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
[+Default] DecoratorList[?Yield, ?Await]opt class ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
|
||||||
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
|
||||||
ClassStaticBlock
|
|
||||||
;
|
|
||||||
|
|
||||||
DecoratorList[Yield, Await] :
|
DecoratorList[Yield, Await] :
|
||||||
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
@ -53,9 +49,4 @@ function yield() {}
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class C {
|
@(yield) class C {}
|
||||||
@(yield) method() {}
|
|
||||||
@(yield) static method() {}
|
|
||||||
@(yield) field;
|
|
||||||
@(yield) static field;
|
|
||||||
}
|
|
||||||
|
@ -1,19 +1,15 @@
|
|||||||
// This file was procedurally generated from the following sources:
|
// This file was procedurally generated from the following sources:
|
||||||
// - src/decorator/decorator-parenthesized-expr-identifier-reference.case
|
// - src/decorator/decorator-parenthesized-expr-identifier-reference.case
|
||||||
// - src/decorator/syntax/valid/cls-element-decorators-valid-syntax.template
|
// - src/decorator/syntax/valid/cls-decl-decorators-valid-syntax.template
|
||||||
/*---
|
/*---
|
||||||
description: Decorator @ DecoratorParenthesizedExpression (Valid syntax for decorator on class.)
|
description: Decorator @ DecoratorParenthesizedExpression (Valid syntax for decorator on class.)
|
||||||
esid: prod-ClassDeclaration
|
esid: prod-ClassDeclaration
|
||||||
features: [class, decorators]
|
features: [class, decorators]
|
||||||
flags: [generated]
|
flags: [generated]
|
||||||
info: |
|
info: |
|
||||||
ClassElement[Yield, Await] :
|
ClassDeclaration[Yield, Await, Default] :
|
||||||
DecoratorList[?Yield, ?Await]opt MethodDefinition[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt class BindingIdentifier[?Yield, ?Await] ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt static MethodDefinition[?Yield, ?Await]
|
[+Default] DecoratorList[?Yield, ?Await]opt class ClassTail[?Yield, ?Await]
|
||||||
DecoratorList[?Yield, ?Await]opt FieldDefinition[?Yield, ?Await] ;
|
|
||||||
DecoratorList[?Yield, ?Await]opt static FieldDefinition[?Yield, ?Await] ;
|
|
||||||
ClassStaticBlock
|
|
||||||
;
|
|
||||||
|
|
||||||
DecoratorList[Yield, Await] :
|
DecoratorList[Yield, Await] :
|
||||||
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
DecoratorList[?Yield, ?Await]opt Decorator[?Yield, ?Await]
|
||||||
@ -55,33 +51,10 @@ function await() {}
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class C {
|
|
||||||
@($)
|
@($)
|
||||||
@(_)
|
@(_)
|
||||||
@(\u{6F})
|
@(\u{6F})
|
||||||
@(\u2118)
|
@(\u2118)
|
||||||
@(ZW_\u200C_NJ)
|
@(ZW_\u200C_NJ)
|
||||||
@(ZW_\u200D_J)
|
@(ZW_\u200D_J)
|
||||||
@(await) method() {}
|
@(await) class C {}
|
||||||
@($)
|
|
||||||
@(_)
|
|
||||||
@(\u{6F})
|
|
||||||
@(\u2118)
|
|
||||||
@(ZW_\u200C_NJ)
|
|
||||||
@(ZW_\u200D_J)
|
|
||||||
@(await) static method() {}
|
|
||||||
@($)
|
|
||||||
@(_)
|
|
||||||
@(\u{6F})
|
|
||||||
@(\u2118)
|
|
||||||
@(ZW_\u200C_NJ)
|
|
||||||
@(ZW_\u200D_J)
|
|
||||||
@(await) field;
|
|
||||||
@($)
|
|
||||||
@(_)
|
|
||||||
@(\u{6F})
|
|
||||||
@(\u2118)
|
|
||||||
@(ZW_\u200C_NJ)
|
|
||||||
@(ZW_\u200D_J)
|
|
||||||
@(await) static field;
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user