Module As_ctx

module As_ctx: sig .. end
Command contexts

For documentation see Assemblage.Ctx.



Context elements


type tag = [ `Tag of string ] 
type language = [ `C | `Js | `Lang of string | `OCaml ] 
type build_phase = [ `Archive of [ `Shared | `Static ]
| `Compile
| `Dep
| `Doc
| `Gen
| `Link
| `Pp ]
type source = [ `Src of As_path.ext ] 
type target = [ `Target of [ `Byte | `Js | `Native | `Other of string | `Src ] ] 
type cmd = [ `Cmd of string As_conf.key | `Cmd_static of string ] 
type part_usage = [ `Build | `Dev | `Doc | `Other of string | `Outcome | `Test ] 
type part_kind = [ `Base | `Bin | `Dir | `Doc | `Lib | `Pkg | `Run | `Unit ] 
type part = [ `Part of
[ `Base
| `Bin
| `Build
| `Dev
| `Dir
| `Doc
| `Lib
| `Name of string
| `Other of string
| `Outcome
| `Pkg
| `Run
| `Test
| `Unit ] ]
type elt = [ `Archive of [ `Shared | `Static ]
| `C
| `Cmd of string As_conf.key
| `Cmd_static of string
| `Compile
| `Dep
| `Doc
| `Gen
| `Js
| `Lang of string
| `Link
| `OCaml
| `Part of
[ `Base
| `Bin
| `Build
| `Dev
| `Dir
| `Doc
| `Lib
| `Name of string
| `Other of string
| `Outcome
| `Pkg
| `Run
| `Test
| `Unit ]
| `Pp
| `Src of As_path.ext
| `Tag of string
| `Target of [ `Byte | `Js | `Native | `Other of string | `Src ] ]
val pp_elt : Format.formatter -> elt -> unit
val pp_kind : Format.formatter -> part_kind -> unit
val pp_usage : Format.formatter -> part_usage -> unit

Contexts


type t 
val v : elt list -> t
include Set.S
val pp : Format.formatter -> t -> unit
val matches : t -> t -> bool