// 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/elements/async-gen-private-method/ name: Async generator private method as a ClassExpression element esid: prod-AsyncGeneratorMethod info: | ClassElement : PrivateMethodDefinition MethodDefinition : AsyncGeneratorMethod Async Generator Function Definitions AsyncGeneratorMethod : async [no LineTerminator here] * # PropertyName ( UniqueFormalParameters ) { AsyncGeneratorBody } features: [async-iteration, class-methods-private] ---*/ var C = class { async *#gen() { /*{ body }*/ }};