You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 23, 2019. It is now read-only.
If you have an AST object representing an ICU message pattern, how can you convert that AST object to its string representation as a pattern?
I don't mean formatting the string. What I'd like to know is how to produce the pattern 'The price is: {price, number, USD}' from an AST object rather than the formatted message 'The price is: $1.00'.
The text was updated successfully, but these errors were encountered:
rightaway
changed the title
How to get convert AST object back into string pattern?
How to convert AST object back into string pattern?
Nov 15, 2015
If you have an AST object representing an ICU message pattern, how can you convert that AST object to its string representation as a pattern?
I don't mean formatting the string. What I'd like to know is how to produce the pattern
'The price is: {price, number, USD}'
from an AST object rather than the formatted message'The price is: $1.00'
.The text was updated successfully, but these errors were encountered: