Module Kernel.Rewriter

type label = Lang.label
type path = Path.t
type patt = Patt.t
exception Rewrite_error of string * node option
val get_subterm : term:node -> path:path -> node
val subst : term:node -> path:path -> replacement:node -> node
val pattern_matches : patt -> node -> bool
val all_matches : patt -> node -> path list