package dolmen
A parser library for automated deduction
Install
Dune Dependency
Authors
Maintainers
Sources
dolmen-0.8.tbz
sha256=3ee4b4b028b18ab0066cb4648fa14cd4d628a3afd79455f85fb796a9969ac80c
sha512=06d455f0221814dae44d9d8614cab7c1d4fb43a383e603a92ffc9cf4a753d42c5f2a0f3c5ae64aa6cf02da769c4666b130443ae2cf8fa0918c906d46e0caec9a
doc/src/dolmen.intf/id.ml.html
Source file id.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
(* This file is free software, part of dolmen. See file "LICENSE" for more information *) (** Interfaces for Identifiers. This module defines Interfaces that implementation of identifiers must respect in order to be used to instantiated the corresponding language classes. *) (** {2 Signature for Logic languages} *) module type Logic = sig type t (** The type of identifiers. *) type namespace (** The type of namespaces. Namespaces are used to distinguish identifiers with the same name, but that occur in different contexts. For instance, in smtlib, sorts and terms live in different namespaces; so a term constant can have the same name as a sort, and still be syntactically different. *) val sort : namespace (** The namespace for sorts (also called types). Currently only used for smtlib. *) val var : namespace (** Namespace for variables (when they can be syntatically distinguished from constants). *) val term : namespace (** The usual namespace for terms. *) val attr : namespace (** Namespace used for attributes (also called annotations) in smtlib. *) val decl : namespace (** Namespace used for declaration identifiers (for instance used to filter declarations during includes) *) val track : namespace (** Namespace used to tag and identify sub-terms occuring in files. *) val mk : namespace -> string -> t (** Make an identifier from its namespace and name. *) val indexed : namespace -> string -> string list -> t (** Make an indexed identifier from a namespace, basename and list of indexes. *) val qualified : namespace -> string list -> string -> t (** Make a qualified identifier from a namespace, a list of modules (a path), and a base name. *) val tracked : track:t -> namespace -> string -> t (** An identifier with an additional name for tracking purposes. *) end module type Response = Logic module type Escape = sig type t (** The type of identifiers. *) val hash : t -> int (** Hash function *) val equal : t -> t -> bool (** Equality function *) val name : t -> string (** The name / string to print for the identifier *) end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>