docs: public static Context inferTemplateEndContext(
        TemplateNode templateNode,
        Context startContext,
        Inferences inferences,
        ErrorReporter errorReporter) {
      InferenceEngine inferenceEngine = new InferenceEngine(inferences, errorReporter);
      // Context started off as startContext and we have propagated context through all of
      // template's children, so now return the template's end context.
      return inferenceEngine.infer(templateNode, startContext);
    }