package sarek
Module Internal_kernels.MparserSource
Source
val parse_args :
Camlp4.PreCast.Syntax.Ast.patt list ->
Camlp4.PreCast.Syntax.Ast.expr ->
Camlp4.PreCast.Syntax.Ast.exprSource
val gen_arg_from_patt3 :
Camlp4.PreCast.Syntax.Ast.patt ->
Camlp4.PreCast.Syntax.Ast.patt
* Camlp4.PreCast.Syntax.Ast.expr
* Camlp4.PreCast.Syntax.Ast.ctyp
* Camlp4.PreCast.Syntax.Ast.patt
* Camlp4.PreCast.Syntax.Ast.expr
* Camlp4.PreCast.Syntax.Ast.ctypSource
val gen_ctype :
Camlp4.PreCast.Syntax.Ast.ctyp ->
Camlp4.PreCast.Syntax.Ast.ident ->
string ->
'a ->
Camlp4.PreCast.Syntax.Ast.loc ->
Camlp4.PreCast.Syntax.Ast.str_itemSource
val gen_ctype_repr :
Camlp4.PreCast.Syntax.Ast.ctyp ->
Camlp4.PreCast.Syntax.Ast.ident ->
'a ->
stringSource
type ktyp_repr = {type_id : int;name : string;typ : Sarek_types.ktyp;ml_typ : Camlp4.PreCast.Syntax.Ast.str_item;ctype : Camlp4.PreCast.Syntax.Ast.str_item;crepr : string;ml_to_c : Camlp4.PreCast.Syntax.Ast.expr;c_to_ml : Camlp4.PreCast.Syntax.Ast.expr;build_c : string list;compare : string;
}Source
val gen_mltyp :
Camlp4.PreCast.Syntax.Ast.loc ->
string ->
Sarek_types.ktyp ->
Camlp4.PreCast.Syntax.Ast.str_itemSource
val gen_ctypes :
Camlp4.PreCast.Syntax.Ast.loc ->
Sarek_types.customtypes ->
string ->
Camlp4.PreCast.Syntax.Ast.str_itemSource
val gen_labels :
Camlp4.PreCast.Syntax.Ast.loc ->
(Camlp4.PreCast.Syntax.Ast.ident * Camlp4.PreCast.Syntax.Ast.ctyp * bool) ->
(Camlp4.PreCast.Syntax.Ast.ctyp list
* Camlp4.PreCast.Syntax.Ast.ident list
* bool list)
option ->
Camlp4.PreCast.Syntax.Ast.ctyp list
* Camlp4.PreCast.Syntax.Ast.ident list
* bool listSource
val gen_constructors :
'a ->
(string * Camlp4.PreCast.Syntax.Ast.ctyp option) ->
(string * Camlp4.PreCast.Syntax.Ast.ctyp option) list option ->
(string * Camlp4.PreCast.Syntax.Ast.ctyp option) list