Module Frontend.ConcreteSyntaxData
type 'a node = {
node : 'a;
info : info;
}
val pp_node :
'a. (Ppx_deriving_runtime.Format.formatter ->
'a ->
Ppx_deriving_runtime.unit) ->
Ppx_deriving_runtime.Format.formatter ->
'a node ->
Ppx_deriving_runtime.unit
val show_node :
'a. (Ppx_deriving_runtime.Format.formatter ->
'a ->
Ppx_deriving_runtime.unit) ->
'a node ->
Ppx_deriving_runtime.string
type hole = {
name : string option;
silent : bool;
}
val pp_hole :
Ppx_deriving_runtime.Format.formatter ->
hole ->
Ppx_deriving_runtime.unit
val show_hole : hole -> Ppx_deriving_runtime.string
val map_node : f:('a -> 'b) -> 'c node -> 'd node
and pat =
| Pat of {
lbl : string list;
args : pat_arg list;
}
and 'a step =
| Equals of con * con * 'a
| Trivial of con * 'a
val pp_cell :
Ppx_deriving_runtime.Format.formatter ->
cell ->
Ppx_deriving_runtime.unit
val show_cell : cell -> Ppx_deriving_runtime.string
val pp_con :
Ppx_deriving_runtime.Format.formatter ->
con ->
Ppx_deriving_runtime.unit
val show_con : con -> Ppx_deriving_runtime.string
val pp_con_ :
Ppx_deriving_runtime.Format.formatter ->
con_ ->
Ppx_deriving_runtime.unit
val show_con_ : con_ -> Ppx_deriving_runtime.string
val pp_case :
Ppx_deriving_runtime.Format.formatter ->
case ->
Ppx_deriving_runtime.unit
val show_case : case -> Ppx_deriving_runtime.string
val pp_field :
Ppx_deriving_runtime.Format.formatter ->
field ->
Ppx_deriving_runtime.unit
val show_field : field -> Ppx_deriving_runtime.string
val pp_patch_field :
Ppx_deriving_runtime.Format.formatter ->
patch_field ->
Ppx_deriving_runtime.unit
val show_patch_field : patch_field -> Ppx_deriving_runtime.string
val pp_pat :
Ppx_deriving_runtime.Format.formatter ->
pat ->
Ppx_deriving_runtime.unit
val show_pat : pat -> Ppx_deriving_runtime.string
val pp_pat_arg :
Ppx_deriving_runtime.Format.formatter ->
pat_arg ->
Ppx_deriving_runtime.unit
val show_pat_arg : pat_arg -> Ppx_deriving_runtime.string
val pp_step :
'a. (Ppx_deriving_runtime.Format.formatter ->
'a ->
Ppx_deriving_runtime.unit) ->
Ppx_deriving_runtime.Format.formatter ->
'a step ->
Ppx_deriving_runtime.unit
val show_step :
'a. (Ppx_deriving_runtime.Format.formatter ->
'a ->
Ppx_deriving_runtime.unit) ->
'a step ->
Ppx_deriving_runtime.string
val pp_eqns :
Ppx_deriving_runtime.Format.formatter ->
eqns ->
Ppx_deriving_runtime.unit
val show_eqns : eqns -> Ppx_deriving_runtime.string
and decl_ =
| Def of {
abstract : bool;
shadowing : bool;
name : Core.Ident.t;
args : cell list;
def : con;
tp : con;
unfolding : Core.Ident.t list;
}
| Axiom of {
shadowing : bool;
name : Core.Ident.t;
args : cell list;
tp : con;
}
| Print of {
unfolding : Core.Ident.t list;
name : Core.Ident.t node;
}
| Import of {
shadowing : bool;
unitpath : string list;
modifier : con option;
}
| NormalizeTerm of {
unfolding : Core.Ident.t list;
con : con;
}
| Fail of decl
| Debug of bool
| Quit
| View of {
shadowing : bool;
modifier : con;
}
| Export of {
shadowing : bool;
modifier : con;
}
| Repack of {
shadowing : bool;
modifier : con;
}
| Section of {
shadowing : bool;
prefix : string list option;
decls : signature;
modifier : con option;
}
and signature = decl list
val pp_decl :
Ppx_deriving_runtime.Format.formatter ->
decl ->
Ppx_deriving_runtime.unit
val show_decl : decl -> Ppx_deriving_runtime.string
val pp_decl_ :
Ppx_deriving_runtime.Format.formatter ->
decl_ ->
Ppx_deriving_runtime.unit
val show_decl_ : decl_ -> Ppx_deriving_runtime.string
val pp_signature :
Ppx_deriving_runtime.Format.formatter ->
signature ->
Ppx_deriving_runtime.unit
val show_signature : signature -> Ppx_deriving_runtime.string
and repl_command_ =
| NoOp
| EndOfFile
| Decl of decl