Scroll to navigation

Ast_helper.Cl(3) OCaml library Ast_helper.Cl(3)

NAME

Ast_helper.Cl - Class expressions

Module

Module Ast_helper.Cl

Documentation

Module Cl
: sig end

Class expressions

val mk : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.class_expr_desc -> Parsetree.class_expr

val attr : Parsetree.class_expr -> Parsetree.attribute -> Parsetree.class_expr

val constr : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Ast_helper.lid -> Parsetree.core_type list -> Parsetree.class_expr

val structure : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.class_structure -> Parsetree.class_expr

val fun_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Asttypes.arg_label -> Parsetree.expression option -> Parsetree.pattern -> Parsetree.class_expr -> Parsetree.class_expr

val apply : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.class_expr -> (Asttypes.arg_label * Parsetree.expression) list -> Parsetree.class_expr

val let_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Asttypes.rec_flag -> Parsetree.value_binding list -> Parsetree.class_expr -> Parsetree.class_expr

val constraint_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.class_expr -> Parsetree.class_type -> Parsetree.class_expr

val extension : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.extension -> Parsetree.class_expr

val open_ : ?loc:Ast_helper.loc -> ?attrs:Ast_helper.attrs -> Parsetree.open_description -> Parsetree.class_expr -> Parsetree.class_expr

2024-03-14 OCamldoc