compile
Compiles a reusable, partially processed Template from the given template text. Any substitutions are discovered ahead of time and can be inspected in Template.substitutions.
The returned object follows the same processing rules as the TemplateProcessor.process.
Parameters
template
the String to process for {{ }} substitution blocks