tiny.smt.FunctionDecl
Defined in term.
One declared function: its name, the sorts of its arguments and the sort of its result.
API (3)
Fields and members
Public fields and members.
Source
Source: lib/smt/src/term.zig:183
zig
/// One declared function: its name, the sorts of its arguments and the sort of its result. Code/// that walks the declarations reads one per function, as the SMT-LIB writer does for each/// `declare-fun`.pub const FunctionDecl = struct { /// The function's name, a copy the `Context` owns and frees. The name is unique among the /// declarations of one `Context`. name: []const u8, /// The sorts of the arguments in order, a copy the `Context` owns and frees. The slice length /// is the function's arity: 0 declares a constant function. params: []const Sort, /// The sort of every application's result. result: Sort,};Source: lib/smt/src/root.zig:118
zig
pub const FunctionDecl = term.FunctionDecl;Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 3 |
| Version | 26.7.0 |
| Revision | daab053ee433 |