(node)
| 31709 | } |
| 31710 | var hasDeprecatedTag = false; |
| 31711 | function addJSDocComment(node) { |
| 31712 | ts.Debug.assert(!node.jsDoc); // Should only be called once per node |
| 31713 | var jsDoc = ts.mapDefined(ts.getJSDocCommentRanges(node, sourceText), function (comment) { return JSDocParser.parseJSDocComment(node, comment.pos, comment.end - comment.pos); }); |
| 31714 | if (jsDoc.length) |
| 31715 | node.jsDoc = jsDoc; |
| 31716 | if (hasDeprecatedTag) { |
| 31717 | hasDeprecatedTag = false; |
| 31718 | node.flags |= 268435456 /* NodeFlags.Deprecated */; |
| 31719 | } |
| 31720 | return node; |
| 31721 | } |
| 31722 | function reparseTopLevelAwait(sourceFile) { |
| 31723 | var savedSyntaxCursor = syntaxCursor; |
| 31724 | var baseSyntaxCursor = IncrementalParser.createSyntaxCursor(sourceFile); |
no test coverage detected