docs: private void visitLetParamContentNode(RenderUnitNode node, String generatedVarName) {
      // The html transform step, performed by HtmlContextVisitor, ensures that
      // we always have a content kind specified.
      checkState(node.getContentKind() != null);
  
      IncrementalDomCodeBuilder jsCodeBuilder = getJsCodeBuilder();
      SanitizedContentKind prevContentKind = jsCodeBuilder.getContentKind();
  
      jsCodeBuilder.setContentKind(node.getContentKind());
  
      CodeChunk definition;
      VariableDeclaration.Builder builder = VariableDeclaration.builder(generatedVarName);
      SanitizedContentKind kind = node.getContentKind();
      if (kind == SanitizedContentKind.HTML || kind == SanitizedContentKind.ATTRIBUTES) {
        Expression constructor;
        if (kind == SanitizedContentKind.HTML) {
          constructor = SOY_IDOM_MAKE_HTML;
        } else {
          constructor = SOY_IDOM_MAKE_ATTRIBUTES;
        }
        JsDoc jsdoc =
            JsDoc.builder()
                .addParam(INCREMENTAL_DOM_PARAM_NAME, "incrementaldomlib.IncrementalDomRenderer")
                .build();
        definition =
            builder
                .setRhs(
                    constructor.call(
                        Expression.arrowFunction(jsdoc, visitChildrenReturningCodeChunk(node))))
                .build();
      } else {
        // We do our own initialization, so mark it as such.
        String outputVarName = generatedVarName + "_output";
        jsCodeBuilder.pushOutputVar(outputVarName).setOutputVarInited();
  
        definition =
            Statement.of(
                VariableDeclaration.builder(outputVarName).setRhs(LITERAL_EMPTY_STRING).build(),
                visitChildrenReturningCodeChunk(node),
                builder
                    .setRhs(
                        JsRuntime.sanitizedContentOrdainerFunctionForInternalBlocks(
                                node.getContentKind())
                            .call(id(outputVarName)))
                    .build());
        jsCodeBuilder.popOutputVar();
      }
  
      jsCodeBuilder.setContentKind(prevContentKind);
      jsCodeBuilder.append(definition);
    }