package rocq-runtime
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=b236dc44f92e1eeca6877c7ee188a90c2303497fe7beb99df711ed5a7ce0d824
doc/rocq-runtime.library/Nametab/module-type-NAMETAB/index.html
Module type Nametab.NAMETAB
Source
Common APIs on name tables.
The type of the elements of the name table (eg ModPath.t)
Add an element or modify its visibility. With visibility Until
, assume the element is new. With visibility Exactly
, assume the element is not new.
Remove an element.
shortest_qualid_gen avoid v
: given an object v
with full name Mylib.A.B.x, try to find the shortest among x, B.x, A.B.x and Mylib.A.B.x that denotes the same object. If avoid
is true
on x
it is assumed to denote something else (so B.x is the shortest qualid that could be returned).
Like shortest_qualid_gen
but using an id set instead of a closure.
Globalize the given user-level reference. If any warnings are associated with the produced object, print them unless nowarn:true
was given.
Locate all elements with a given suffix. If the qualid is a valid absolute name, that element is first in the list.
Return the elements that have the qualid as a prefix. UIs will usually compose with shortest_qualid
. Experimental APIs, please tell us if you use it.
Return the absolute name for the given element.
Return an element bound to an absolute path.
Returns whether this absolute path is taken.