diff --git a/src/async-functions/syntax/async-class-decl-private-method.template b/src/async-functions/syntax/async-class-decl-private-method.template new file mode 100644 index 0000000000000000000000000000000000000000..5a3949ab247138bd950c3957d5c3cca16f3e2bec --- /dev/null +++ b/src/async-functions/syntax/async-class-decl-private-method.template @@ -0,0 +1,24 @@ +// Copyright (C) 2018 Bloomberg LP. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +path: language/statements/class/async-private-method- +name: Async private method as a ClassDeclaration element +esid: prod-AsyncMethod +info: | + ClassElement : + PrivateMethodDefinition + + MethodDefinition : + AsyncMethod + + Async Function Definitions + + AsyncMethod : + async [no LineTerminator here] # PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody } +features: [async-functions, class-methods-private] +---*/ + +class C { async #method() { + /*{ body }*/ +}} diff --git a/src/async-functions/syntax/async-class-decl-static-private-method.template b/src/async-functions/syntax/async-class-decl-static-private-method.template new file mode 100644 index 0000000000000000000000000000000000000000..0bede5a4590a0b16cb1a81ff51d1071fced7e1cf --- /dev/null +++ b/src/async-functions/syntax/async-class-decl-static-private-method.template @@ -0,0 +1,24 @@ +// Copyright (C) 2018 Bloomberg LP. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +path: language/statements/class/async-private-method-static- +name: Static async private method as a ClassDeclaration element +esid: prod-AsyncMethod +info: | + ClassElement : + static PrivateMethodDefinition + + MethodDefinition : + AsyncMethod + + Async Function Definitions + + AsyncMethod : + async [no LineTerminator here] # PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody } +features: [async-functions, class-methods-private] +---*/ + +class C { static async #method() { + /*{ body }*/ +}} diff --git a/src/async-functions/syntax/async-class-expr-private-method.template b/src/async-functions/syntax/async-class-expr-private-method.template new file mode 100644 index 0000000000000000000000000000000000000000..8f047f74d02a26f77f7d592d04088f0b7f8dfff1 --- /dev/null +++ b/src/async-functions/syntax/async-class-expr-private-method.template @@ -0,0 +1,24 @@ +// Copyright (C) 2018 Bloomberg LP. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +path: language/expressions/class/async-private-method- +name: Async private method as a ClassExpression element +esid: prod-AsyncMethod +info: | + ClassElement : + PrivateMethodDefinition + + MethodDefinition : + AsyncMethod + + Async Function Definitions + + AsyncMethod : + async [no LineTerminator here] # PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody } +features: [async-functions, class-methods-private] +---*/ + +var C = class { async #method() { + /*{ body }*/ +}}; diff --git a/src/async-functions/syntax/async-class-expr-static-private-method.template b/src/async-functions/syntax/async-class-expr-static-private-method.template new file mode 100644 index 0000000000000000000000000000000000000000..ab154f12f57e9b6de4e3dc5a2aaef1eed477095e --- /dev/null +++ b/src/async-functions/syntax/async-class-expr-static-private-method.template @@ -0,0 +1,24 @@ +// Copyright (C) 2018 Bloomberg LP. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +path: language/expressions/class/async-private-method-static- +name: Static private async method as a ClassExpression element +esid: prod-AsyncMethod +info: | + ClassElement : + static PrivateMethodDefinition + + MethodDefinition : + AsyncMethod + + Async Function Definitions + + AsyncMethod : + async [no LineTerminator here] # PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody } +features: [async-functions, class-methods-private] +---*/ + +var C = class { static async #method() { + /*{ body }*/ +}}; diff --git a/src/async-generators/default/async-class-decl-private-method.template b/src/async-generators/default/async-class-decl-private-method.template index 48b7060370e6c56ebb3af4d195d46b43a3c325f4..44ff11ea49d826dcb822c1fbacd0ee178568fdde 100644 --- a/src/async-generators/default/async-class-decl-private-method.template +++ b/src/async-generators/default/async-class-decl-private-method.template @@ -1,4 +1,4 @@ -// Copyright (C) 2018 Jaideep Bhoosreddy. All rights reserved. +// Copyright (C) 2018 Bloomberb LP. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- diff --git a/src/async-generators/default/async-class-decl-static-private-method.template b/src/async-generators/default/async-class-decl-static-private-method.template index ebb00653f59a2df371b425c62adda153d0b9a0a3..9e4f7d5fc13602541ee0bcf48a3ed16becb2737b 100644 --- a/src/async-generators/default/async-class-decl-static-private-method.template +++ b/src/async-generators/default/async-class-decl-static-private-method.template @@ -1,4 +1,4 @@ -// Copyright (C) 2018 Jaideep Bhoosreddy. All rights reserved. +// Copyright (C) 2018 Bloomberg LP. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- diff --git a/src/async-generators/default/async-class-expr-private-method.template b/src/async-generators/default/async-class-expr-private-method.template index 8b329c11af7860c58900da85817e004a0d754b99..c2509020a520ae967bac70febde95116fbc3e799 100644 --- a/src/async-generators/default/async-class-expr-private-method.template +++ b/src/async-generators/default/async-class-expr-private-method.template @@ -1,4 +1,4 @@ -// Copyright (C) 2018 Jaideep Bhoosreddy. All rights reserved. +// Copyright (C) 2018 Bloomberg LP. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- diff --git a/src/async-generators/default/async-class-expr-static-private-method.template b/src/async-generators/default/async-class-expr-static-private-method.template index 7a5743a64d71822b4037b68a91a597b899771e0c..828930de22d3e4f7c403210f68ffaff4ef9d3c37 100644 --- a/src/async-generators/default/async-class-expr-static-private-method.template +++ b/src/async-generators/default/async-class-expr-static-private-method.template @@ -1,4 +1,4 @@ -// Copyright (C) 2018 Jaideep Bhoosreddy. All rights reserved. +// Copyright (C) 2018 Bloomberg L. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- diff --git a/src/generators/default/class-decl-private-method.template b/src/generators/default/class-decl-private-method.template index 7e86032a372b0d798565b84c5e4275ea78fa4e92..3d5c4f69160a991221dbb8b030c2f5aa5cc1981c 100644 --- a/src/generators/default/class-decl-private-method.template +++ b/src/generators/default/class-decl-private-method.template @@ -1,4 +1,4 @@ -// Copyright (C) 2018 Jaideep Bhoosreddy. All rights reserved. +// Copyright (C) 2018 Bloomberg LP. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- path: language/statements/class/gen-method- diff --git a/src/generators/default/class-decl-static-private-method.template b/src/generators/default/class-decl-static-private-method.template index d27b4c058632dc80bac34a5d4739ffbdc8bd2725..4a5f38b801cbff6208db0d43f73511335941233d 100644 --- a/src/generators/default/class-decl-static-private-method.template +++ b/src/generators/default/class-decl-static-private-method.template @@ -1,4 +1,4 @@ -// Copyright (C) 2018 Jaideep Bhoosreddy. All rights reserved. +// Copyright (C) 2018 Bloomberg LP. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- path: language/statements/class/gen-private-method-static- diff --git a/src/generators/default/class-expr-private-method.template b/src/generators/default/class-expr-private-method.template index 5cbde34f00e14d35a679e9f34186e9586f841e34..cede4ddfb0aebb742dbab9095b8aa97da99bb3f9 100644 --- a/src/generators/default/class-expr-private-method.template +++ b/src/generators/default/class-expr-private-method.template @@ -1,4 +1,4 @@ -// Copyright (C) 2018 Jaideep Bhoosreddy. All rights reserved. +// Copyright (C) 2018 Bloomberg LP. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- path: language/expressions/class/gen-private-method- diff --git a/src/generators/default/class-expr-static-private-method.template b/src/generators/default/class-expr-static-private-method.template index 7979b3e674fa72a84b5ab85444faeea05903f318..eb150dfcafe13bb7a9216f40035a5a331dda6458 100644 --- a/src/generators/default/class-expr-static-private-method.template +++ b/src/generators/default/class-expr-static-private-method.template @@ -1,4 +1,4 @@ -// Copyright (C) 2018 Jaideep Bhoosreddy. All rights reserved. +// Copyright (C) 2018 Bloomberg LP. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- path: language/expressions/class/gen-private-method-static-