File: cvc5op.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 (31 lines) | stat: -rw-r--r-- 975 bytes parent folder | download
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
Cvc5Op
======

The :cpp:type:`Cvc5Op` struct represents a cvc5 operator, instantiated with
the parameters it requires (if any).

A :cpp:type:`Cvc5Term` of operator kind that does not require additional
parameters, e.g., :cpp:enumerator:`CVC5_KIND_ADD`, is usually constructed via
:cpp:func:`Cvc5Term cvc5_mk_term(Cvc5TermManager* tm, Cvc5Kind kind, size_t size, const Cvc5Term args[])`.
Alternatively, any :cpp:type:`Cvc5Term` can be constructed via first
instantiating a corresponding :cpp:type:`Cvc5Op`, even if the operator does
not require additional parameters.
Terms with operators that require additional parameters, e.g.,
:cpp:enumerator:`CVC5_KIND_BITVECTOR_EXTRACT`, must be created via
:cpp:func:`cvc5_mk_op()` (or :cpp:func:`cvc5_mk_op_from_str()`) and
:cpp:func:`cvc5_mk_term_from_op()`.

.. container:: hide-toctree

  .. toctree::

----

.. doxygentypedef:: Cvc5Op
    :project: cvc5_c

----

.. doxygengroup:: c_cvc5op
    :project: cvc5_c
    :content-only: