()
| 739 | } |
| 740 | |
| 741 | override clone(): LocalizedString { |
| 742 | return new LocalizedString( |
| 743 | this.metaBlock, |
| 744 | this.messageParts, |
| 745 | this.placeHolderNames, |
| 746 | this.expressions.map((expr) => expr.clone()), |
| 747 | this.sourceSpan, |
| 748 | ); |
| 749 | } |
| 750 | |
| 751 | /** |
| 752 | * Serialize the given `meta` and `messagePart` into "cooked" and "raw" strings that can be used |