(kind, reportAtCurrentPosition, diagnosticMessage, arg0)
| 32335 | return node; |
| 32336 | } |
| 32337 | function createMissingNode(kind, reportAtCurrentPosition, diagnosticMessage, arg0) { |
| 32338 | if (reportAtCurrentPosition) { |
| 32339 | parseErrorAtPosition(scanner.getStartPos(), 0, diagnosticMessage, arg0); |
| 32340 | } |
| 32341 | else if (diagnosticMessage) { |
| 32342 | parseErrorAtCurrentToken(diagnosticMessage, arg0); |
| 32343 | } |
| 32344 | var pos = getNodePos(); |
| 32345 | var result = kind === 79 /* SyntaxKind.Identifier */ ? factory.createIdentifier("", /*typeArguments*/ undefined, /*originalKeywordKind*/ undefined) : |
| 32346 | ts.isTemplateLiteralKind(kind) ? factory.createTemplateLiteralLikeNode(kind, "", "", /*templateFlags*/ undefined) : |
| 32347 | kind === 8 /* SyntaxKind.NumericLiteral */ ? factory.createNumericLiteral("", /*numericLiteralFlags*/ undefined) : |
| 32348 | kind === 10 /* SyntaxKind.StringLiteral */ ? factory.createStringLiteral("", /*isSingleQuote*/ undefined) : |
| 32349 | kind === 276 /* SyntaxKind.MissingDeclaration */ ? factory.createMissingDeclaration() : |
| 32350 | factory.createToken(kind); |
| 32351 | return finishNode(result, pos); |
| 32352 | } |
| 32353 | function internIdentifier(text) { |
| 32354 | var identifier = identifiers.get(text); |
| 32355 | if (identifier === undefined) { |
no test coverage detected
searching dependent graphs…