MCPcopy Index your code
hub / github.com/formatjs/formatjs / quoteSyntaxToken

Function quoteSyntaxToken

packages/icu-messageformat-parser/printer.ts:70–72  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

68}
69
70function quoteSyntaxToken(token: string): string {
71 return `'${token.split("'").join("''")}'`
72}
73
74function isAlpha(ch: string | undefined): boolean {
75 if (!ch) {

Callers 1

quoteTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected