package archetype

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

Module Archetype.ParseTreeSource

Sourceand scope_import =
  1. | SINone
  2. | SIParent
  3. | SIId of lident
Sourceand container =
  1. | Aggregate
  2. | Partition
  3. | AssetContainer
  4. | AssetKey
  5. | AssetValue
  6. | AssetView
Sourceand type_r =
  1. | Tref of lident
  2. | Trefscope of lident option * lident
  3. | Tcontainer of type_t * container
  4. | Ttuple of type_t list
  5. | Toption of type_t
  6. | Tset of type_t
  7. | Tlist of type_t
  8. | Tmap of type_t * type_t
  9. | Tbig_map of type_t * type_t
  10. | Titerable_big_map of type_t * type_t
  11. | Tor of type_t * type_t
  12. | Tlambda of type_t * type_t
  13. | Tcontract of type_t
  14. | Tticket of type_t
  15. | Tsapling_state of Core.big_int
  16. | Tsapling_transaction of Core.big_int
Sourceand type_t = type_r Location.loced * lident option
Sourceand logical_operator =
  1. | And
  2. | Or
  3. | Xor
  4. | Imply
  5. | Equiv
Sourceand comparison_operator =
  1. | Equal
  2. | Nequal
  3. | Gt
  4. | Ge
  5. | Lt
  6. | Le
Sourceand arithmetic_operator =
  1. | Plus
  2. | Minus
  3. | Mult
  4. | DivRat
  5. | DivEuc
  6. | Modulo
  7. | DivMod
  8. | ThreeWayCmp
  9. | ShiftLeft
  10. | ShiftRight
Sourceand unary_operator =
  1. | Uminus
  2. | Not
Sourceand assignment_operator =
  1. | ValueAssign
  2. | PlusAssign
  3. | MinusAssign
  4. | MultAssign
  5. | DivAssign
  6. | AndAssign
  7. | OrAssign
Sourceand quantifier =
  1. | Forall
  2. | Exists
Sourceand operator =
  1. | Logical of logical_operator
  2. | Cmp of comparison_operator
  3. | Arith of arithmetic_operator
  4. | Unary of unary_operator
Sourceval lident_to_yojson : lident -> Yojson.Safe.t
Sourceval scope_import_to_yojson : scope_import -> Yojson.Safe.t
Sourceval container_to_yojson : container -> Yojson.Safe.t
Sourceval type_r_to_yojson : type_r -> Yojson.Safe.t
Sourceval type_t_to_yojson : type_t -> Yojson.Safe.t
Sourceval logical_operator_to_yojson : logical_operator -> Yojson.Safe.t
Sourceval comparison_operator_to_yojson : comparison_operator -> Yojson.Safe.t
Sourceval arithmetic_operator_to_yojson : arithmetic_operator -> Yojson.Safe.t
Sourceval unary_operator_to_yojson : unary_operator -> Yojson.Safe.t
Sourceval assignment_operator_to_yojson : assignment_operator -> Yojson.Safe.t
Sourceval quantifier_to_yojson : quantifier -> Yojson.Safe.t
Sourceval operator_to_yojson : operator -> Yojson.Safe.t
Sourceval show_comparison_operator : comparison_operator -> Ppx_deriving_runtime.string
Sourceval show_arithmetic_operator : arithmetic_operator -> Ppx_deriving_runtime.string
Sourceval show_assignment_operator : assignment_operator -> Ppx_deriving_runtime.string
Sourcetype pattern_unloc =
  1. | Pwild
  2. | Pref of pname Location.loced * lident list
Sourceand pname =
  1. | PIdent of Ident.ident
  2. | PCons
  3. | PNil
  4. | PSome
  5. | PNone
  6. | PLeft
  7. | PRight
Sourceand var_label =
  1. | VLBefore
  2. | VLIdent of lident
Sourceand var_vset =
  1. | VSAdded
  2. | VSUnmoved
  3. | VSRemoved
Sourceand for_ident_unloc =
  1. | FIsimple of lident
  2. | FIdouble of lident * lident
Sourceand transfer_t =
  1. | TTsimple of expr * expr
  2. | TTcontract of expr * expr * lident * type_t * expr
  3. | TTentry of expr * lident * expr
  4. | TTentry2 of expr * lident * expr * lident * expr
  5. | TTself of expr * lident * expr list
  6. | TToperation of expr
Sourceand expr_unloc =
  1. | Eterm of scope_import * var_vset option * var_label option * lident
  2. | Eliteral of literal
  3. | Earray of scope_import * expr list
  4. | Erecord of scope_import * record_item list
  5. | Etuple of expr list
  6. | Edot of expr * lident
  7. | Equestiondot of expr * lident
  8. | Esqapp of expr * expr
  9. | Emulticomp of expr * (comparison_operator Location.loced * expr) list
  10. | Eapp of function_ * expr list
  11. | Eappt of function_ * type_t list * expr list
  12. | Emethod of expr * lident * expr list
  13. | Etransfer of transfer_t
  14. | Edorequire of expr * expr
  15. | Edofailif of expr * expr
  16. | Efail of expr
  17. | Efailsome of expr
  18. | Eassign of assignment_operator * expr * expr
  19. | Eassignopt of expr * expr * expr
  20. | Eif of expr * expr * expr option
  21. | Efor of lident option * for_ident * expr * expr
  22. | Eiter of lident option * lident * expr option * expr * expr
  23. | Ewhile of lident option * expr * expr
  24. | Eseq of expr * expr
  25. | Eletin of lident * type_t option * expr * expr * expr option
  26. | Evar of lident * type_t option * expr * bool
  27. | Evaropt of lident * type_t option * expr * expr option * bool
  28. | Ematchwith of expr * branch list
  29. | Efold of expr * lident * expr
  30. | Emap of expr * lident * expr
  31. | Erecupdate of expr * (lident * expr) list
  32. | Equantifier of quantifier * lident * quantifier_kind * expr
  33. | Eassert of lident
  34. | Elabel of lident
  35. | Ereturn of expr
  36. | Eoption of option_
  37. | Eor of or_
  38. | Elambda of type_t option * lident * type_t option * expr
  39. | Eentrypoint of type_t * expr * expr * expr option
  40. | Ecallview of type_t * expr * expr * expr
  41. | Eunpack of type_t * expr
  42. | Eemit of type_t * expr
  43. | Eself of lident
  44. | Eternary of expr * expr * expr
  45. | Eany
  46. | Enothing
  47. | Eunit
  48. | Einvalid
Sourceand branch = pattern list * expr
Sourceand scope =
  1. | Added
  2. | After
  3. | Before
  4. | Fixed
  5. | Removed
  6. | Stable
Sourceand quantifier_kind =
  1. | Qcollection of expr
  2. | Qtype of type_t
Sourceand option_ =
  1. | OSome of expr
  2. | ONone of type_t option
Sourceand or_ =
  1. | Oleft of type_t option * type_t * expr
  2. | Oright of type_t * type_t option * expr
Sourceand function_ =
  1. | Fident of lident
  2. | Foperator of operator Location.loced
Sourceand literal =
  1. | Lint of Core.big_int
  2. | Lnat of Core.big_int
  3. | Ldecimal of string
  4. | Ltz of string
  5. | Lmtz of string
  6. | Lutz of string
  7. | Laddress of string
  8. | Lstring of string
  9. | Lbool of bool
  10. | Lduration of string
  11. | Ldate of string
  12. | Lbytes of string
  13. | Lpercent of string
Sourceand record_item = (assignment_operator * lident) option * expr
Sourceand lident_typ = lident * type_t * extension list option
Sourceand label_expr = (lident * expr) Location.loced
Sourceand label_exprs = label_expr list
Sourceand extension_unloc =
  1. | Eextension of lident * expr list
    (*

    extension

    *)
Sourceand exts = extension list option
Sourceand field_unloc =
  1. | Ffield of lident * type_t * expr option * exts
    (*

    field

    *)
Sourceand args = lident_typ list
Sourceand invariants = (lident * expr list) list
Sourceand specification_item_unloc =
  1. | Vpredicate of lident * args * expr
  2. | Vdefinition of lident * type_t * lident * expr
  3. | Vvariable of lident * type_t * expr option
  4. | Veffect of expr
  5. | Vassert of lident * expr * invariants * lident list
  6. | Vfails of (lident * lident option * lident * type_t * expr) list
  7. | Vpostcondition of lident * expr * invariants * lident list * postkind option
Sourceand postkind =
  1. | PKPost
  2. | PKInv
Sourceand specification_unloc = specification_item list * exts
Sourceand security_arg_unloc =
  1. | Sident of lident
  2. | Sdot of lident * lident
  3. | Slist of security_arg list
  4. | Sapp of lident * security_arg list
  5. | Sbut of lident * security_arg
  6. | Sto of lident * security_arg
Sourceand security_item_unloc = lident * lident * security_arg list
Sourceand security_unloc = security_item list * exts
Sourceand view_visibility =
  1. | VVonchain
  2. | VVoffchain
  3. | VVonoffchain
  4. | VVnone
Sourceand s_function = {
  1. name : lident;
  2. args : args;
  3. ret_t : type_t option;
  4. spec : specification option;
  5. body : expr;
  6. getter : bool;
  7. view : bool;
  8. view_visibility : view_visibility;
}
Sourceand entry_properties = {
  1. accept_transfer : bool * expr option;
  2. sourcedby : (expr * expr option * exts) option;
  3. calledby : (expr * expr option * exts) option;
  4. state_is : (lident * expr option) option;
  5. constants : ((lident * expr * expr option) list * exts) option;
  6. require : ((lident * expr * expr option) list * exts) option;
  7. failif : ((lident * expr * expr option) list * exts) option;
  8. spec_fun : specification option;
  9. functions : s_function Location.loced list;
}
Sourceand transition = (lident * (expr * exts) option * (expr * exts) option) list
Sourceand parameter = (lident * type_t * expr option * bool) Location.loced
Sourceand parameters = parameter list Location.loced option
Sourceand metadata =
  1. | Muri of string Location.loced
  2. | Mjson of string Location.loced
Sourceand variable_kind =
  1. | VKvariable
  2. | VKconstant
Sourceand enum_kind =
  1. | EKenum of lident
  2. | EKstate
Sourceand declaration_unloc =
  1. | Darchetype of lident * parameters * metadata option * exts
  2. | Dimport of lident * lident
  3. | Dvariable of variable_decl
  4. | Denum of enum_kind * enum_decl
  5. | Dasset of asset_decl
  6. | Drecord of record_decl
  7. | Dentry of entry_decl
  8. | Dtransition of transition_decl
  9. | Dextension of extension_decl
  10. | Dnamespace of namespace_decl
  11. | Dfunction of s_function
  12. | Dspecification of specification
  13. | Dspecasset of lident * label_exprs
  14. | Dspecfun of specfun
  15. | Dspecvariable of lident * label_exprs
  16. | Dsecurity of security
  17. | Dtype of lident * type_t
  18. | Devent of record_decl
  19. | Dinvalid
Sourceand specfun_kind =
  1. | SKentry
  2. | SKfunction
  3. | SKgetter
  4. | SKview
Sourceand variable_decl = lident * type_t * expr option * variable_kind * label_exprs * exts
Sourceand enum_decl = (lident * type_t list * enum_option list) list * exts
Sourceand asset_decl = lident * field list * field list * asset_option list * asset_post_option list * asset_operation option * exts
Sourceand record_decl = lident * field list * expr option * exts
Sourceand entry_decl = lident * args * entry_properties * (expr * exts) option * exts
Sourceand transition_decl = lident * args * (lident * type_t) option * expr * entry_properties * transition * exts
Sourceand extension_decl = lident * expr list
Sourceand namespace_decl = lident * declaration list
Sourceand map_kind =
  1. | MKMap
  2. | MKBigMap
  3. | MKIterableBigMap
Sourceand asset_option =
  1. | AOidentifiedby of lident list
  2. | AOsortedby of lident
  3. | AOtoMapKind of map_kind
Sourceand asset_post_option =
  1. | APOstates of lident
  2. | APOconstraints of label_exprs
  3. | APOinit of expr list
Sourceand enum_option =
  1. | EOinitial
  2. | EOspecification of label_exprs
Sourceand asset_operation_enum =
  1. | AOadd
  2. | AOremove
  3. | AOupdate
Sourceand asset_operation =
  1. | AssetOperation of asset_operation_enum list * expr option
Sourceand archetype_unloc =
  1. | Marchetype of declaration list
  2. | Mextension of lident * declaration list * declaration list
include sig ... end
Sourceclass virtual +'a map : object ... end
include sig ... end
Sourceclass virtual +'a iter : object ... end
include sig ... end
Sourceclass virtual +'a reduce : object ... end
include sig ... end
Sourceclass virtual +'a reduce2 : object ... end
Sourceval pattern_unloc_to_yojson : pattern_unloc -> Yojson.Safe.t
Sourceval pname_to_yojson : pname -> Yojson.Safe.t
Sourceval pattern_to_yojson : pattern -> Yojson.Safe.t
Sourceval var_label_to_yojson : var_label -> Yojson.Safe.t
Sourceval var_vset_to_yojson : var_vset -> Yojson.Safe.t
Sourceval for_ident_unloc_to_yojson : for_ident_unloc -> Yojson.Safe.t
Sourceval for_ident_to_yojson : for_ident -> Yojson.Safe.t
Sourceval transfer_t_to_yojson : transfer_t -> Yojson.Safe.t
Sourceval expr_unloc_to_yojson : expr_unloc -> Yojson.Safe.t
Sourceval branch_to_yojson : branch -> Yojson.Safe.t
Sourceval scope_to_yojson : scope -> Yojson.Safe.t
Sourceval quantifier_kind_to_yojson : quantifier_kind -> Yojson.Safe.t
Sourceval option__to_yojson : option_ -> Yojson.Safe.t
Sourceval or__to_yojson : or_ -> Yojson.Safe.t
Sourceval function__to_yojson : function_ -> Yojson.Safe.t
Sourceval literal_to_yojson : literal -> Yojson.Safe.t
Sourceval record_item_to_yojson : record_item -> Yojson.Safe.t
Sourceval expr_to_yojson : expr -> Yojson.Safe.t
Sourceval lident_typ_to_yojson : lident_typ -> Yojson.Safe.t
Sourceval label_expr_to_yojson : label_expr -> Yojson.Safe.t
Sourceval label_exprs_to_yojson : label_exprs -> Yojson.Safe.t
Sourceval extension_unloc_to_yojson : extension_unloc -> Yojson.Safe.t
Sourceval extension_to_yojson : extension -> Yojson.Safe.t
Sourceval exts_to_yojson : exts -> Yojson.Safe.t
Sourceval field_unloc_to_yojson : field_unloc -> Yojson.Safe.t
Sourceval field_to_yojson : field -> Yojson.Safe.t
Sourceval args_to_yojson : args -> Yojson.Safe.t
Sourceval invariants_to_yojson : invariants -> Yojson.Safe.t
Sourceval specification_item_unloc_to_yojson : specification_item_unloc -> Yojson.Safe.t
Sourceval postkind_to_yojson : postkind -> Yojson.Safe.t
Sourceval specification_item_to_yojson : specification_item -> Yojson.Safe.t
Sourceval specification_unloc_to_yojson : specification_unloc -> Yojson.Safe.t
Sourceval specification_to_yojson : specification -> Yojson.Safe.t
Sourceval security_arg_unloc_to_yojson : security_arg_unloc -> Yojson.Safe.t
Sourceval security_arg_to_yojson : security_arg -> Yojson.Safe.t
Sourceval security_item_unloc_to_yojson : security_item_unloc -> Yojson.Safe.t
Sourceval security_item_to_yojson : security_item -> Yojson.Safe.t
Sourceval security_unloc_to_yojson : security_unloc -> Yojson.Safe.t
Sourceval security_to_yojson : security -> Yojson.Safe.t
Sourceval view_visibility_to_yojson : view_visibility -> Yojson.Safe.t
Sourceval s_function_to_yojson : s_function -> Yojson.Safe.t
Sourceval entry_properties_to_yojson : entry_properties -> Yojson.Safe.t
Sourceval transition_to_yojson : transition -> Yojson.Safe.t
Sourceval parameter_to_yojson : parameter -> Yojson.Safe.t
Sourceval parameters_to_yojson : parameters -> Yojson.Safe.t
Sourceval metadata_to_yojson : metadata -> Yojson.Safe.t
Sourceval variable_kind_to_yojson : variable_kind -> Yojson.Safe.t
Sourceval enum_kind_to_yojson : enum_kind -> Yojson.Safe.t
Sourceval declaration_unloc_to_yojson : declaration_unloc -> Yojson.Safe.t
Sourceval specfun_kind_to_yojson : specfun_kind -> Yojson.Safe.t
Sourceval specfun_to_yojson : specfun -> Yojson.Safe.t
Sourceval variable_decl_to_yojson : variable_decl -> Yojson.Safe.t
Sourceval enum_decl_to_yojson : enum_decl -> Yojson.Safe.t
Sourceval asset_decl_to_yojson : asset_decl -> Yojson.Safe.t
Sourceval record_decl_to_yojson : record_decl -> Yojson.Safe.t
Sourceval entry_decl_to_yojson : entry_decl -> Yojson.Safe.t
Sourceval transition_decl_to_yojson : transition_decl -> Yojson.Safe.t
Sourceval extension_decl_to_yojson : extension_decl -> Yojson.Safe.t
Sourceval namespace_decl_to_yojson : namespace_decl -> Yojson.Safe.t
Sourceval map_kind_to_yojson : map_kind -> Yojson.Safe.t
Sourceval asset_option_to_yojson : asset_option -> Yojson.Safe.t
Sourceval asset_post_option_to_yojson : asset_post_option -> Yojson.Safe.t
Sourceval enum_option_to_yojson : enum_option -> Yojson.Safe.t
Sourceval declaration_to_yojson : declaration -> Yojson.Safe.t
Sourceval asset_operation_enum_to_yojson : asset_operation_enum -> Yojson.Safe.t
Sourceval asset_operation_to_yojson : asset_operation -> Yojson.Safe.t
Sourceval archetype_unloc_to_yojson : archetype_unloc -> Yojson.Safe.t
Sourceval archetype_to_yojson : archetype -> Yojson.Safe.t
Sourceval show_specification_item_unloc : specification_item_unloc -> Ppx_deriving_runtime.string
Sourceval show_specification_item : specification_item -> Ppx_deriving_runtime.string
Sourceval show_specification_unloc : specification_unloc -> Ppx_deriving_runtime.string
Sourceval show_security_arg_unloc : security_arg_unloc -> Ppx_deriving_runtime.string
Sourceval show_security_item_unloc : security_item_unloc -> Ppx_deriving_runtime.string
Sourceval show_asset_operation_enum : asset_operation_enum -> Ppx_deriving_runtime.string
Sourceval tref : ?loc:Location.t -> ?a:lident -> Ident.ident -> type_t
Sourceval tunit : type_t
Sourceval tstring : type_t
Sourceval tnat : type_t
Sourceval tint : type_t
Sourceval trational : type_t
Sourceval tbool : type_t
Sourceval trole : type_t
Sourceval taddress : type_t
Sourceval tdate : type_t
Sourceval ttez : type_t
Sourceval tduration : type_t
Sourceval tsignature : type_t
Sourceval tkey : type_t
Sourceval tkey_hash : type_t
Sourceval tbytes : type_t
Sourceval tchain_id : type_t
Sourceval toperation : type_t
Sourceval tbls12_381_fr : type_t
Sourceval tbls12_381_g1 : type_t
Sourceval tbls12_381_g2 : type_t
Sourceval tnever : type_t
Sourceval tchest : type_t
Sourceval tchest_key : type_t
Sourceval mk_tcontainer : ?loc:Location.t -> ?a:lident -> type_t -> container -> type_t
Sourceval mk_ttuple : ?loc:Location.t -> ?a:lident -> type_t list -> type_t
Sourceval mk_toption : ?loc:Location.t -> ?a:lident -> type_t -> type_t
Sourceval mk_tset : ?loc:Location.t -> ?a:lident -> type_t -> type_t
Sourceval mk_tlist : ?loc:Location.t -> ?a:lident -> type_t -> type_t
Sourceval mk_tmap : ?loc:Location.t -> ?a:lident -> type_t -> type_t -> type_t
Sourceval mk_tbig_map : ?loc:Location.t -> ?a:lident -> type_t -> type_t -> type_t
Sourceval mk_titerable_big_map : ?loc:Location.t -> ?a:lident -> type_t -> type_t -> type_t
Sourceval mk_tor : ?loc:Location.t -> ?a:lident -> type_t -> type_t -> type_t
Sourceval mk_tcontract : ?loc:Location.t -> ?a:lident -> type_t -> type_t
Sourceval mk_tticket : ?loc:Location.t -> ?a:lident -> type_t -> type_t
Sourceval mk_sapling_state : ?loc:Location.t -> ?a:lident -> Core.big_int -> type_t
Sourceval mk_sapling_transaction : ?loc:Location.t -> ?a:lident -> Core.big_int -> type_t
Sourceval mk_eliteral : ?loc:Location.t -> literal -> expr_unloc Location.loced
Sourceval ebtz : string -> expr_unloc Location.loced
Sourceval emtz : string -> expr_unloc Location.loced
Sourceval eutz : string -> expr_unloc Location.loced
Sourceval epercent : string -> expr_unloc Location.loced
Sourceval edecimal : string -> expr_unloc Location.loced
Sourceval eaddress : string -> expr_unloc Location.loced
Sourceval estring : string -> expr_unloc Location.loced
Sourceval eduration : string -> expr_unloc Location.loced
Sourceval edate : string -> expr_unloc Location.loced
Sourceval ebytes : string -> expr_unloc Location.loced
Sourceval eterm : ?loc:Location.t -> ?s:scope_import -> ?temp:var_label -> ?delta:var_vset -> lident -> expr_unloc Location.loced
Sourceval earray : ?loc:Location.t -> ?s:scope_import -> expr list -> expr_unloc Location.loced
Sourceval etuple : ?loc:Location.t -> expr list -> expr_unloc Location.loced
Sourceval emethod : ?loc:Location.t -> expr -> lident -> expr list -> expr_unloc Location.loced
Sourceval edorequire : ?loc:Location.t -> expr -> expr -> expr_unloc Location.loced
Sourceval edofailif : ?loc:Location.t -> expr -> expr -> expr_unloc Location.loced
Sourceval eassignopt : ?loc:Location.t -> expr -> expr -> expr -> expr_unloc Location.loced
Sourceval eif : ?loc:Location.t -> ?e:expr -> expr -> expr -> expr_unloc Location.loced
Sourceval efor : ?loc:Location.t -> ?lbl:lident -> for_ident -> expr -> expr -> expr_unloc Location.loced
Sourceval eiter : ?loc:Location.t -> ?lbl:lident -> ?min:expr -> lident -> expr -> expr -> expr_unloc Location.loced
Sourceval ewhile : ?loc:Location.t -> ?lbl:lident -> expr -> expr -> expr_unloc Location.loced
Sourceval eletin : ?loc:Location.t -> ?t:type_t -> ?o:expr -> lident -> expr -> expr -> expr_unloc Location.loced
Sourceval evar : ?loc:Location.t -> ?t:type_t -> lident -> expr -> bool -> expr_unloc Location.loced
Sourceval evaropt : ?loc:Location.t -> ?t:type_t -> lident -> expr -> bool -> expr option -> expr_unloc Location.loced
Sourceval ematchwith : ?loc:Location.t -> expr -> branch list -> expr_unloc Location.loced
Sourceval erecupdate : ?loc:Location.t -> expr -> (lident * expr) list -> expr_unloc Location.loced
Sourceval eentrypoint : ?loc:Location.t -> type_t -> expr -> expr -> expr option -> expr_unloc Location.loced
Sourceval eany : ?loc:Location.t -> 'a -> expr_unloc Location.loced
Sourceval enothing : ?loc:Location.t -> 'a -> expr_unloc Location.loced
Sourceval einvalid : ?loc:Location.t -> 'a -> expr_unloc Location.loced
Sourceval mk_s_function : lident -> args -> type_t option -> specification option -> expr -> bool -> bool -> view_visibility -> s_function
Sourceval mk_entry_properties : ?accept_transfer:(bool * expr option) -> ?sourcedby:(expr * expr option * exts) -> ?calledby:(expr * expr option * exts) -> ?state_is:(lident * expr option) -> ?constants:((lident * expr * expr option) list * exts) -> ?require:((lident * expr * expr option) list * exts) -> ?failif:((lident * expr * expr option) list * exts) -> ?spec_fun:specification -> ?functions:s_function Location.loced list -> 'a -> entry_properties
Sourceval mk_transition_item : lident -> (expr * exts) option -> (expr * exts) option -> lident * (expr * exts) option * (expr * exts) option
Sourceval mk_variable_decl : ?dv:expr -> ?le:label_exprs -> ?exts:extension list -> lident -> type_t -> variable_kind -> variable_decl
Sourceval mk_enum_decl : ?exts:extension list -> (lident * type_t list * enum_option list) list -> enum_decl
Sourceval mk_asset_decl : ?fs:field list -> ?sfs:field list -> ?aos:asset_option list -> ?apos:asset_post_option list -> ?ao:asset_operation -> ?exts:extension list -> lident -> asset_decl
Sourceval mk_record_decl : ?fs:field list -> ?pos:expr -> ?exts:extension list -> lident -> record_decl
Sourceval mk_entry_decl : ?args:args -> ?body:(expr * exts) -> ?exts:extension list -> lident -> entry_properties -> entry_decl
Sourceval mk_transition_decl : ?args:args -> ?te:(lident * type_t) -> ?trs:transition -> ?exts:extension list -> lident -> expr -> entry_properties -> transition_decl
Sourceval mk_extension_decl : ?es:expr list -> lident -> extension_decl
Sourceval mk_namespace_decl : ?ds:declaration list -> lident -> namespace_decl
Sourceval mk_asset_option_identifiedby : lident list -> asset_option
Sourceval mk_asset_option_sortedby : lident -> asset_option
Sourceval mk_asset_option_to_map_kind : map_kind -> asset_option
Sourceval mk_asset_post_option_states : lident -> asset_post_option
Sourceval mk_asset_post_option_constraints : label_exprs -> asset_post_option
Sourceval mk_asset_post_option_init : expr list -> asset_post_option
Sourceval mk_enum_option_initial : 'a -> enum_option
Sourceval mk_enum_option_specification : label_exprs -> enum_option
Sourceval mk_assetoperation : asset_operation_enum list -> expr option -> asset_operation
Sourceval mk_darchetype : ?parameters:parameter list Location.loced -> ?metadata:metadata -> ?exts:extension list -> ?loc:Location.t -> lident -> declaration_unloc Location.loced
Sourceval mk_invalid : ?loc:Location.t -> unit -> declaration_unloc Location.loced
Sourceval mk_archetype : ?decls:declaration list -> ?loc:Location.t -> unit -> archetype_unloc Location.loced
Sourceval cst_now : string
Sourceval cst_transferred : string
Sourceval cst_caller : string
Sourceval cst_balance : string
Sourceval cst_source : string
Sourceval cst_selfaddress : string
Sourceval cst_chainid : string
Sourceval cst_metadata : string
Sourceval cst_level : string
OCaml

Innovation. Community. Security.