package archetype

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

Module Typing.EnvSource

Sourcetype t
Sourcetype label_kind = [
  1. | `Plain
  2. | `Code
  3. | `Loop of A.ptyp
]
Sourcetype entry = [
  1. | `Label of t * label_kind
  2. | `State of statedecl
  3. | `StateByCtor of statedecl * A.lident
  4. | `Type of A.ptyp
  5. | `Local of A.ptyp * locvarkind
  6. | `Global of vardecl
  7. | `Definition of definitiondecl
  8. | `Asset of assetdecl
  9. | `Record of recorddecl
  10. | `Event of recorddecl
  11. | `Entry of t tentrydecl
  12. | `Function of t fundecl
  13. | `Predicate of preddecl
  14. | `Field of Ident.ident * [ `Asset | `Record | `Event ]
  15. | `Context of assetdecl * Ident.ident option
  16. | `Import of importdecl
]
Sourceand locvarkind = [
  1. | `Standard
  2. | `Const
  3. | `Argument
  4. | `Pattern
  5. | `LoopIndex
]
Sourcetype ecallback = error -> unit
Sourceval create : ecallback -> t
Sourceval emit_error : t -> error -> unit
Sourceval name_free : t -> Ident.ident -> [ `Free | `Clash of Location.t option ]
Sourceval lookup_entry : t -> Ident.ident -> entry option
Sourceval open_ : t -> t
Sourceval close : t -> t
Sourceval inscope : t -> (t -> t * 'a) -> t * 'a
Sourcemodule Label : sig ... end
Sourcemodule Type : sig ... end
Sourcemodule Local : sig ... end
Sourcemodule Definition : sig ... end
Sourcemodule Var : sig ... end
Sourcemodule Function : sig ... end
Sourcemodule Predicate : sig ... end
Sourcemodule State : sig ... end
Sourcemodule Record : sig ... end
Sourcemodule Event : sig ... end
Sourcemodule Asset : sig ... end
Sourcemodule Tentry : sig ... end
Sourcemodule Context : sig ... end
Sourcemodule Import : sig ... end
OCaml

Innovation. Community. Security.