public class TemplateRuleInitializer
A TemplateRuleInitializer is used to prepare a template rule for execution the first
time that its match pattern is matched, in cases where JIT template rule compilation
is in force. The class is responsible for compiling the template rule body to an
expression tree, performing static type checking and optimization on the template rule,
analyzing its streamability and constructing an inversion for streamed evaluation,
and allocating slot numbers for local variables and external component references.