()
| 33720 | return false; |
| 33721 | } |
| 33722 | function parseTypeMember() { |
| 33723 | if (token() === 20 /* SyntaxKind.OpenParenToken */ || token() === 29 /* SyntaxKind.LessThanToken */) { |
| 33724 | return parseSignatureMember(174 /* SyntaxKind.CallSignature */); |
| 33725 | } |
| 33726 | if (token() === 103 /* SyntaxKind.NewKeyword */ && lookAhead(nextTokenIsOpenParenOrLessThan)) { |
| 33727 | return parseSignatureMember(175 /* SyntaxKind.ConstructSignature */); |
| 33728 | } |
| 33729 | var pos = getNodePos(); |
| 33730 | var hasJSDoc = hasPrecedingJSDocComment(); |
| 33731 | var modifiers = parseModifiers(); |
| 33732 | if (parseContextualModifier(136 /* SyntaxKind.GetKeyword */)) { |
| 33733 | return parseAccessorDeclaration(pos, hasJSDoc, /*decorators*/ undefined, modifiers, 172 /* SyntaxKind.GetAccessor */); |
| 33734 | } |
| 33735 | if (parseContextualModifier(149 /* SyntaxKind.SetKeyword */)) { |
| 33736 | return parseAccessorDeclaration(pos, hasJSDoc, /*decorators*/ undefined, modifiers, 173 /* SyntaxKind.SetAccessor */); |
| 33737 | } |
| 33738 | if (isIndexSignature()) { |
| 33739 | return parseIndexSignatureDeclaration(pos, hasJSDoc, /*decorators*/ undefined, modifiers); |
| 33740 | } |
| 33741 | return parsePropertyOrMethodSignature(pos, hasJSDoc, modifiers); |
| 33742 | } |
| 33743 | function nextTokenIsOpenParenOrLessThan() { |
| 33744 | nextToken(); |
| 33745 | return token() === 20 /* SyntaxKind.OpenParenToken */ || token() === 29 /* SyntaxKind.LessThanToken */; |
nothing calls this directly
no test coverage detected