module Ast:Camlp4.Sig.Camlp4Ast
module Loc:Camlp4.Sig.Loc
typeloc =
Camlp4.Sig.Loc.t
type
meta_bool =
| |
BTrue |
| |
BFalse |
| |
BAnt of |
type
rec_flag =
| |
ReRecursive |
| |
ReNil |
| |
ReAnt of |
type
direction_flag =
| |
DiTo |
| |
DiDownto |
| |
DiAnt of |
type
mutable_flag =
| |
MuMutable |
| |
MuNil |
| |
MuAnt of |
type
private_flag =
| |
PrPrivate |
| |
PrNil |
| |
PrAnt of |
type
virtual_flag =
| |
ViVirtual |
| |
ViNil |
| |
ViAnt of |
type
override_flag =
| |
OvOverride |
| |
OvNil |
| |
OvAnt of |
type
row_var_flag =
| |
RvRowVar |
| |
RvNil |
| |
RvAnt of |
type 'a
meta_option =
| |
ONone |
| |
OSome of |
| |
OAnt of |
type 'a
meta_list =
| |
LNil |
| |
LCons of |
| |
LAnt of |
type
ident =
| |
IdAcc of |
| |
IdApp of |
| |
IdLid of |
| |
IdUid of |
| |
IdAnt of |
type
ctyp =
| |
TyNil of |
| |
TyAli of |
| |
TyAny of |
| |
TyApp of |
| |
TyArr of |
| |
TyCls of |
| |
TyLab of |
| |
TyId of |
| |
TyMan of |
| |
TyDcl of |
| |
TyObj of |
| |
TyOlb of |
| |
TyPol of |
| |
TyQuo of |
| |
TyQuP of |
| |
TyQuM of |
| |
TyVrn of |
| |
TyRec of |
| |
TyCol of |
| |
TySem of |
| |
TyCom of |
| |
TySum of |
| |
TyOf of |
| |
TyAnd of |
| |
TyOr of |
| |
TyPrv of |
| |
TyMut of |
| |
TyTup of |
| |
TySta of |
| |
TyVrnEq of |
| |
TyVrnSup of |
| |
TyVrnInf of |
| |
TyVrnInfSup of |
| |
TyAmp of |
| |
TyOfAmp of |
| |
TyPkg of |
| |
TyAnt of |
type
patt =
| |
PaNil of |
| |
PaId of |
| |
PaAli of |
| |
PaAnt of |
| |
PaAny of |
| |
PaApp of |
| |
PaArr of |
| |
PaCom of |
| |
PaSem of |
| |
PaChr of |
| |
PaInt of |
| |
PaInt32 of |
| |
PaInt64 of |
| |
PaNativeInt of |
| |
PaFlo of |
| |
PaLab of |
| |
PaOlb of |
| |
PaOlbi of |
| |
PaOrp of |
| |
PaRng of |
| |
PaRec of |
| |
PaEq of |
| |
PaStr of |
| |
PaTup of |
| |
PaTyc of |
| |
PaTyp of |
| |
PaVrn of |
| |
PaLaz of |
type
expr =
| |
ExNil of |
| |
ExId of |
| |
ExAcc of |
| |
ExAnt of |
| |
ExApp of |
| |
ExAre of |
| |
ExArr of |
| |
ExSem of |
| |
ExAsf of |
| |
ExAsr of |
| |
ExAss of |
| |
ExChr of |
| |
ExCoe of |
| |
ExFlo of |
| |
ExFor of |
| |
ExFun of |
| |
ExIfe of |
| |
ExInt of |
| |
ExInt32 of |
| |
ExInt64 of |
| |
ExNativeInt of |
| |
ExLab of |
| |
ExLaz of |
| |
ExLet of |
| |
ExLmd of |
| |
ExMat of |
| |
ExNew of |
| |
ExObj of |
| |
ExOlb of |
| |
ExOvr of |
| |
ExRec of |
| |
ExSeq of |
| |
ExSnd of |
| |
ExSte of |
| |
ExStr of |
| |
ExTry of |
| |
ExTup of |
| |
ExCom of |
| |
ExTyc of |
| |
ExVrn of |
| |
ExWhi of |
| |
ExOpI of |
| |
ExFUN of |
| |
ExPkg of |
type
module_type =
| |
MtNil of |
| |
MtId of |
| |
MtFun of |
| |
MtQuo of |
| |
MtSig of |
| |
MtWit of |
| |
MtAnt of |
type
sig_item =
| |
SgNil of |
| |
SgCls of |
| |
SgClt of |
| |
SgSem of |
| |
SgDir of |
| |
SgExc of |
| |
SgExt of |
| |
SgInc of |
| |
SgMod of |
| |
SgRecMod of |
| |
SgMty of |
| |
SgOpn of |
| |
SgTyp of |
| |
SgVal of |
| |
SgAnt of |
type
with_constr =
| |
WcNil of |
| |
WcTyp of |
| |
WcMod of |
| |
WcTyS of |
| |
WcMoS of |
| |
WcAnd of |
| |
WcAnt of |
type
binding =
| |
BiNil of |
| |
BiAnd of |
| |
BiEq of |
| |
BiAnt of |
type
rec_binding =
| |
RbNil of |
| |
RbSem of |
| |
RbEq of |
| |
RbAnt of |
type
module_binding =
| |
MbNil of |
| |
MbAnd of |
| |
MbColEq of |
| |
MbCol of |
| |
MbAnt of |
type
match_case =
| |
McNil of |
| |
McOr of |
| |
McArr of |
| |
McAnt of |
type
module_expr =
| |
MeNil of |
| |
MeId of |
| |
MeApp of |
| |
MeFun of |
| |
MeStr of |
| |
MeTyc of |
| |
MePkg of |
| |
MeAnt of |
type
str_item =
| |
StNil of |
| |
StCls of |
| |
StClt of |
| |
StSem of |
| |
StDir of |
| |
StExc of |
| |
StExp of |
| |
StExt of |
| |
StInc of |
| |
StMod of |
| |
StRecMod of |
| |
StMty of |
| |
StOpn of |
| |
StTyp of |
| |
StVal of |
| |
StAnt of |
type
class_type =
| |
CtNil of |
| |
CtCon of |
| |
CtFun of |
| |
CtSig of |
| |
CtAnd of |
| |
CtCol of |
| |
CtEq of |
| |
CtAnt of |
type
class_sig_item =
| |
CgNil of |
| |
CgCtr of |
| |
CgSem of |
| |
CgInh of |
| |
CgMth of |
| |
CgVal of |
| |
CgVir of |
| |
CgAnt of |
type
class_expr =
| |
CeNil of |
| |
CeApp of |
| |
CeCon of |
| |
CeFun of |
| |
CeLet of |
| |
CeStr of |
| |
CeTyc of |
| |
CeAnd of |
| |
CeEq of |
| |
CeAnt of |
type
class_str_item =
| |
CrNil of |
| |
CrSem of |
| |
CrCtr of |
| |
CrInh of |
| |
CrIni of |
| |
CrMth of |
| |
CrVal of |
| |
CrVir of |
| |
CrVvr of |
| |
CrAnt of |
val loc_of_ctyp : ctyp -> loc
val loc_of_patt : patt -> loc
val loc_of_expr : expr -> loc
val loc_of_module_type : module_type -> loc
val loc_of_module_expr : module_expr -> loc
val loc_of_sig_item : sig_item -> loc
val loc_of_str_item : str_item -> loc
val loc_of_class_type : class_type -> loc
val loc_of_class_sig_item : class_sig_item -> loc
val loc_of_class_expr : class_expr -> loc
val loc_of_class_str_item : class_str_item -> loc
val loc_of_with_constr : with_constr -> loc
val loc_of_binding : binding -> loc
val loc_of_rec_binding : rec_binding -> loc
val loc_of_module_binding : module_binding -> loc
val loc_of_match_case : match_case -> loc
val loc_of_ident : ident -> loc
module Meta:sig
..end
class map :object
..end
class fold :object
..end
val map_expr : (expr -> expr) ->
map
val map_patt : (patt -> patt) ->
map
val map_ctyp : (ctyp -> ctyp) ->
map
val map_str_item : (str_item -> str_item) ->
map
val map_sig_item : (sig_item -> sig_item) ->
map
val map_loc : (loc -> loc) ->
map
val ident_of_expr : expr -> ident
val ident_of_patt : patt -> ident
val ident_of_ctyp : ctyp -> ident
val biAnd_of_list : binding list -> binding
val rbSem_of_list : rec_binding list -> rec_binding
val paSem_of_list : patt list -> patt
val paCom_of_list : patt list -> patt
val tyOr_of_list : ctyp list -> ctyp
val tyAnd_of_list : ctyp list -> ctyp
val tyAmp_of_list : ctyp list -> ctyp
val tySem_of_list : ctyp list -> ctyp
val tyCom_of_list : ctyp list -> ctyp
val tySta_of_list : ctyp list -> ctyp
val stSem_of_list : str_item list -> str_item
val sgSem_of_list : sig_item list -> sig_item
val crSem_of_list : class_str_item list ->
class_str_item
val cgSem_of_list : class_sig_item list ->
class_sig_item
val ctAnd_of_list : class_type list -> class_type
val ceAnd_of_list : class_expr list -> class_expr
val wcAnd_of_list : with_constr list -> with_constr
val meApp_of_list : module_expr list -> module_expr
val mbAnd_of_list : module_binding list ->
module_binding
val mcOr_of_list : match_case list -> match_case
val idAcc_of_list : ident list -> ident
val idApp_of_list : ident list -> ident
val exSem_of_list : expr list -> expr
val exCom_of_list : expr list -> expr
val list_of_ctyp : ctyp ->
ctyp list -> ctyp list
val list_of_binding : binding ->
binding list -> binding list
val list_of_rec_binding : rec_binding ->
rec_binding list ->
rec_binding list
val list_of_with_constr : with_constr ->
with_constr list ->
with_constr list
val list_of_patt : patt ->
patt list -> patt list
val list_of_expr : expr ->
expr list -> expr list
val list_of_str_item : str_item ->
str_item list -> str_item list
val list_of_sig_item : sig_item ->
sig_item list -> sig_item list
val list_of_class_sig_item : class_sig_item ->
class_sig_item list ->
class_sig_item list
val list_of_class_str_item : class_str_item ->
class_str_item list ->
class_str_item list
val list_of_class_type : class_type ->
class_type list -> class_type list
val list_of_class_expr : class_expr ->
class_expr list -> class_expr list
val list_of_module_expr : module_expr ->
module_expr list ->
module_expr list
val list_of_module_binding : module_binding ->
module_binding list ->
module_binding list
val list_of_match_case : match_case ->
match_case list -> match_case list
val list_of_ident : ident ->
ident list -> ident list
val safe_string_escaped : string -> string
val is_irrefut_patt : patt -> bool
val is_constructor : ident -> bool
val is_patt_constructor : patt -> bool
val is_expr_constructor : expr -> bool
val ty_of_stl : Camlp4.Sig.Loc.t * string * ctyp list ->
ctyp
val ty_of_sbt : Camlp4.Sig.Loc.t * string * bool * ctyp ->
ctyp
val bi_of_pe : patt * expr ->
binding
val pel_of_binding : binding ->
(patt * expr) list
val binding_of_pel : (patt * expr) list ->
binding
val sum_type_of_list : (Camlp4.Sig.Loc.t * string * ctyp list) list ->
ctyp
val record_type_of_list : (Camlp4.Sig.Loc.t * string * bool * ctyp) list ->
ctyp