(value: string, canStayBare: (value: string) => boolean)
| 47 | } |
| 48 | |
| 49 | function formatScriptToken(value: string, canStayBare: (value: string) => boolean): string { |
| 50 | return canStayBare(value) ? value : formatScriptStringLiteral(value); |
| 51 | } |
| 52 | |
| 53 | function isStructuralScriptToken(value: string): boolean { |
| 54 | return (isBareScriptToken(value) && value.startsWith('@')) || NUMERIC_ARG_RE.test(value); |
no test coverage detected