t` rewrites the term t by applying the rule f in a top-down manner, but as opposed to `rewrite_top_down` the function `f` can use an accumulator that accumulates information during the traversal.</p></div></div><div class="odoc-spec"><div class="spec value" id="val-rewrite_types" class="anchored"><a href="#val-rewrite_types" class="anchor"></a><code><span><span class="keyword">val</span> rewrite_types : 
  <span><a href="../TermTypes/Context/index.html#type-t">TermTypes.Context.t</a> <span class="arrow">&#4