()
| 36708 | return withJSDoc(finishNode(factory.createClassStaticBlockDeclaration(decorators, modifiers, body), pos), hasJSDoc); |
| 36709 | } |
| 36710 | function parseClassStaticBlockBody() { |
| 36711 | var savedYieldContext = inYieldContext(); |
| 36712 | var savedAwaitContext = inAwaitContext(); |
| 36713 | setYieldContext(false); |
| 36714 | setAwaitContext(true); |
| 36715 | var body = parseBlock(/*ignoreMissingOpenBrace*/ false); |
| 36716 | setYieldContext(savedYieldContext); |
| 36717 | setAwaitContext(savedAwaitContext); |
| 36718 | return body; |
| 36719 | } |
| 36720 | function parseDecoratorExpression() { |
| 36721 | if (inAwaitContext() && token() === 132 /* SyntaxKind.AwaitKeyword */) { |
| 36722 | // `@await` is is disallowed in an [Await] context, but can cause parsing to go off the rails |
no test coverage detected
searching dependent graphs…