package archetype

  1. Overview
  2. Docs
val get_asset : ast -> lident -> asset
val get_asset_field : ast -> (lident * lident) -> lident decl_gen
val get_asset_key : ast -> lident -> lident * vtyp
val get_container_asset_field : ast -> (lident * lident) -> container
val get_named_field_list : ast -> lident -> pterm list -> (lident * pterm) list
val get_field_list : ast -> lident -> lident list
val get_enum_values : ast -> lident -> lident option
val is_variable : ast -> lident -> bool
val is_asset : ast -> lident -> bool
val is_enum_value : ast -> lident -> bool
val is_definition : ast -> lident -> bool
val get_var_type : ast -> lident -> type_
val get_enum_name : lident enum_struct -> lident
OCaml

Innovation. Community. Security.