package dolmen

  1. Overview
  2. Docs

Module Scope.WrapSource

Parameters

module Ty_var : Arg
module Ty_cst : Arg
module Term_var : Arg
module Term_cst : Arg

Signature

We extend the regular `Scope` module.

include Dolmen_intf.Id.Scope with type path := Path.t with type t = < ty_var : Ty_var.t ; ty_cst : Ty_cst.t ; term_var : Term_var.t ; term_cst : Term_cst.t > id
Sourcetype t = < ty_var : Ty_var.t ; ty_cst : Ty_cst.t ; term_var : Term_var.t ; term_cst : Term_cst.t > id

The type of identifiers.

Sourceval equal : t -> t -> bool

Equality function

Sourceval path : t -> Path.t

Identifier name.

Sourcemodule Map : Dolmen_intf.Map.S with type key = t

A module for Maps on ids.

Sourceval namespace : t -> Namespace.t

Return the namespace of an identifier.