()
| 36973 | return withJSDoc(finishNode(node, pos), hasJSDoc); |
| 36974 | } |
| 36975 | function parseModuleBlock() { |
| 36976 | var pos = getNodePos(); |
| 36977 | var statements; |
| 36978 | if (parseExpected(18 /* SyntaxKind.OpenBraceToken */)) { |
| 36979 | statements = parseList(1 /* ParsingContext.BlockStatements */, parseStatement); |
| 36980 | parseExpected(19 /* SyntaxKind.CloseBraceToken */); |
| 36981 | } |
| 36982 | else { |
| 36983 | statements = createMissingList(); |
| 36984 | } |
| 36985 | return finishNode(factory.createModuleBlock(statements), pos); |
| 36986 | } |
| 36987 | function parseModuleOrNamespaceDeclaration(pos, hasJSDoc, decorators, modifiers, flags) { |
| 36988 | // If we are parsing a dotted namespace name, we want to |
| 36989 | // propagate the 'Namespace' flag across the names if set. |
no test coverage detected
searching dependent graphs…