replacements property
The strings we might replace with functions that return the replacement
values. They are functions because we might need to check something
in the context. Note that the ordering is important here. For example,
symbols.PERCENT
might be " %", and we must handle that before we
look at an individual space.
Implementation
Map<String, Function> get replacements =>
_replacements ??= _initializeReplacements();