File: datatypedecl.rst

package info (click to toggle)
cvc5 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 87,260 kB
  • sloc: cpp: 383,850; java: 12,207; python: 12,090; sh: 5,679; ansic: 4,729; lisp: 763; perl: 208; makefile: 38
file content (15 lines) | stat: -rw-r--r-- 466 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DatatypeDecl
============

This class encapsulates a datatype declaration. A datatype declaration is
constructed via :py:func:`cvc5.Solver.mkDatatypeDecl()`. This is not a
:doc:`datatype itself <datatype>`, but the representation of the
specification for creating a datatype :py:obj:`Sort <cvc5.Sort>` via
:py:func:`cvc5.Solver.mkDatatypeSort()` and
:py:func:`cvc5.Solver.mkDatatypeSorts()`.

----

.. autoclass:: cvc5.DatatypeDecl
    :members:
    :undoc-members: