docs: private Statement generateIncrementalDomRenderCalls(TemplateNode node, String alias) {
      IncrementalDomCodeBuilder jsCodeBuilder = getJsCodeBuilder();
      boolean isTextTemplate = isTextContent(node.getContentKind());
  
      Statement typeChecks = genParamTypeChecks(node, alias);
      // Note: we do not try to combine this into a single return statement if the content is
      // computable as a JsExpr. A JavaScript compiler, such as Closure Compiler, is able to perform
      // the transformation.
      if (isTextTemplate) {
        // We do our own initialization below, so mark it as such.
        jsCodeBuilder.pushOutputVar("output").setOutputVarInited();
      }
      Statement body = visitChildrenReturningCodeChunk(node);
  
      if (isTextTemplate) {
        VariableDeclaration declare =
            VariableDeclaration.builder("output").setRhs(LITERAL_EMPTY_STRING).build();
        jsCodeBuilder.popOutputVar();
        body =
            Statement.of(declare, body, returnValue(sanitize(declare.ref(), node.getContentKind())));
      }
      return Statement.of(typeChecks, body);
    }