@internal
()
| 1323 | } |
| 1324 | /** @internal */ |
| 1325 | toCodecStringTree(): AST { |
| 1326 | return typeof this.literal === "string" ? this : literalToString(this) |
| 1327 | } |
| 1328 | /** @internal */ |
| 1329 | getExpected(): string { |
| 1330 | return typeof this.literal === "string" ? JSON.stringify(this.literal) : globalThis.String(this.literal) |
nothing calls this directly
no test coverage detected