package p4spectec

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Re.Renamer

module Mixfix = Domain.Mixfix
module Rename : sig ... end
type t = Rename.t
val empty : t
val dom : t -> Domain.Lib.IdSet.t
val values : t -> Domain.Lib.Id.t list
val singleton : Domain.Lib.Id.t -> Domain.Lib.Id.t -> t
val add : Domain.Lib.Id.t -> Domain.Lib.Id.t -> t -> t
val of_list : (Domain.Lib.Id.t * Domain.Lib.Id.t) list -> t
val filter : (Domain.Lib.Id.t -> Domain.Lib.Id.t -> bool) -> t -> t
val freshen_binders : t -> Domain.Lib.IdSet.t -> Ol.Ast.block -> t
val rename_exp : t -> Ol.Ast.exp -> Ol.Ast.exp
val rename_exps : t -> Ol.Ast.exp list -> Ol.Ast.exp list
val rename_iterexp : t -> Ol.Ast.iterexp -> Ol.Ast.iterexp
val rename_iterexps : t -> Ol.Ast.iterexp list -> Ol.Ast.iterexp list
val rename_path : t -> Ol.Ast.path -> Ol.Ast.path
val rename_arg : t -> Ol.Ast.arg -> Ol.Ast.arg
val rename_args : t -> Ol.Ast.arg list -> Lang.Il.arg list
val rename_case : t -> Ol.Ast.case -> Ol.Ast.case
val rename_cases : t -> Ol.Ast.case list -> Ol.Ast.case list
val rename_guard : t -> Ol.Ast.guard -> Ol.Ast.guard
val rename_instr : t -> Ol.Ast.instr -> Ol.Ast.instr
val rename_instrs : t -> Ol.Ast.block -> Ol.Ast.block
val rename_block : t -> Ol.Ast.block -> Ol.Ast.block
val rename_iterinstr_bound : t -> Ol.Ast.iterinstr -> Ol.Ast.iterinstr
val rename_iterinstrs_bound : t -> Ol.Ast.iterinstr list -> Ol.Ast.iterinstr list
val rename_iterinstr_bind : t -> Ol.Ast.iterinstr -> Ol.Ast.iterinstr
val rename_iterinstrs_bind : t -> Ol.Ast.iterinstr list -> Ol.Ast.iterinstr list