(pos, hasJSDoc, decorators, modifiers)
| 36545 | return nextTokenIsIdentifier() && nextToken() === 21 /* SyntaxKind.CloseParenToken */; |
| 36546 | } |
| 36547 | function parseVariableStatement(pos, hasJSDoc, decorators, modifiers) { |
| 36548 | var declarationList = parseVariableDeclarationList(/*inForStatementInitializer*/ false); |
| 36549 | parseSemicolon(); |
| 36550 | var node = factory.createVariableStatement(modifiers, declarationList); |
| 36551 | // Decorators are not allowed on a variable statement, so we keep track of them to report them in the grammar checker. |
| 36552 | node.decorators = decorators; |
| 36553 | return withJSDoc(finishNode(node, pos), hasJSDoc); |
| 36554 | } |
| 36555 | function parseFunctionDeclaration(pos, hasJSDoc, decorators, modifiers) { |
| 36556 | var savedAwaitContext = inAwaitContext(); |
| 36557 | var modifierFlags = ts.modifiersToFlags(modifiers); |
no test coverage detected
searching dependent graphs…