(kind, text)
| 22929 | } |
| 22930 | // @api |
| 22931 | function createLiteralLikeNode(kind, text) { |
| 22932 | switch (kind) { |
| 22933 | case 8 /* SyntaxKind.NumericLiteral */: return createNumericLiteral(text, /*numericLiteralFlags*/ 0); |
| 22934 | case 9 /* SyntaxKind.BigIntLiteral */: return createBigIntLiteral(text); |
| 22935 | case 10 /* SyntaxKind.StringLiteral */: return createStringLiteral(text, /*isSingleQuote*/ undefined); |
| 22936 | case 11 /* SyntaxKind.JsxText */: return createJsxText(text, /*containsOnlyTriviaWhiteSpaces*/ false); |
| 22937 | case 12 /* SyntaxKind.JsxTextAllWhiteSpaces */: return createJsxText(text, /*containsOnlyTriviaWhiteSpaces*/ true); |
| 22938 | case 13 /* SyntaxKind.RegularExpressionLiteral */: return createRegularExpressionLiteral(text); |
| 22939 | case 14 /* SyntaxKind.NoSubstitutionTemplateLiteral */: return createTemplateLiteralLikeNode(kind, text, /*rawText*/ undefined, /*templateFlags*/ 0); |
| 22940 | } |
| 22941 | } |
| 22942 | // |
| 22943 | // Identifiers |
| 22944 | // |
nothing calls this directly
no test coverage detected