(c: string)
| 837 | |
| 838 | /** @internal */ |
| 839 | export function defaultEscape(c: string) { |
| 840 | const re = new RegExp(c, "g") |
| 841 | const double = c + c |
| 842 | const dot = c + "." + c |
| 843 | return function(str: string) { |
| 844 | return c + str.replace(re, double).replace(/\./g, dot) + c |
| 845 | } |
| 846 | } |
| 847 | |
| 848 | /** @internal */ |
| 849 | export const primitiveKind = (value: unknown): Statement.PrimitiveKind => { |
no outgoing calls
no test coverage detected
searching dependent graphs…