(pos, hasJSDoc, decorators, modifiers)
| 37048 | return nextToken() === 43 /* SyntaxKind.SlashToken */; |
| 37049 | } |
| 37050 | function parseNamespaceExportDeclaration(pos, hasJSDoc, decorators, modifiers) { |
| 37051 | parseExpected(127 /* SyntaxKind.AsKeyword */); |
| 37052 | parseExpected(142 /* SyntaxKind.NamespaceKeyword */); |
| 37053 | var name = parseIdentifier(); |
| 37054 | parseSemicolon(); |
| 37055 | var node = factory.createNamespaceExportDeclaration(name); |
| 37056 | // NamespaceExportDeclaration nodes cannot have decorators or modifiers, so we attach them here so we can report them in the grammar checker |
| 37057 | node.decorators = decorators; |
| 37058 | node.modifiers = modifiers; |
| 37059 | return withJSDoc(finishNode(node, pos), hasJSDoc); |
| 37060 | } |
| 37061 | function parseImportDeclarationOrImportEqualsDeclaration(pos, hasJSDoc, decorators, modifiers) { |
| 37062 | parseExpected(100 /* SyntaxKind.ImportKeyword */); |
| 37063 | var afterImportPos = scanner.getStartPos(); |
no test coverage detected