package elpi

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type quotation = language:Scope.language -> State.t -> Elpi_parser.Ast.Loc.t -> string -> ScopedTerm.SimpleTerm.t
type descriptor = {
  1. named_quotations : quotation Elpi_util.Util.StrMap.t;
  2. default_quotation : quotation option;
  3. singlequote_compilation : (string * quotation) option;
  4. backtick_compilation : (string * quotation) option;
}
val new_descriptor : unit -> descriptor Stdlib.ref
val declare_singlequote_compilation : descriptor:descriptor Stdlib.ref -> string -> quotation -> string
val declare_backtick_compilation : descriptor:descriptor Stdlib.ref -> string -> quotation -> string
val set_default_quotation : descriptor:descriptor Stdlib.ref -> quotation -> unit
val register_named_quotation : descriptor:descriptor Stdlib.ref -> name:Elpi_util.Util.StrMap.key -> quotation -> Elpi_util.Util.StrMap.key
OCaml

Innovation. Community. Security.