()
| 34199 | token() === 126 /* SyntaxKind.AbstractKeyword */ && lookAhead(nextTokenIsNewKeyword); |
| 34200 | } |
| 34201 | function skipParameterStart() { |
| 34202 | if (ts.isModifierKind(token())) { |
| 34203 | // Skip modifiers |
| 34204 | parseModifiers(); |
| 34205 | } |
| 34206 | if (isIdentifier() || token() === 108 /* SyntaxKind.ThisKeyword */) { |
| 34207 | nextToken(); |
| 34208 | return true; |
| 34209 | } |
| 34210 | if (token() === 22 /* SyntaxKind.OpenBracketToken */ || token() === 18 /* SyntaxKind.OpenBraceToken */) { |
| 34211 | // Return true if we can parse an array or object binding pattern with no errors |
| 34212 | var previousErrorCount = parseDiagnostics.length; |
| 34213 | parseIdentifierOrPattern(); |
| 34214 | return previousErrorCount === parseDiagnostics.length; |
| 34215 | } |
| 34216 | return false; |
| 34217 | } |
| 34218 | function isUnambiguouslyStartOfFunctionType() { |
| 34219 | nextToken(); |
| 34220 | if (token() === 21 /* SyntaxKind.CloseParenToken */ || token() === 25 /* SyntaxKind.DotDotDotToken */) { |
no test coverage detected
searching dependent graphs…