Skip to documentation
SLOP

tiny.smt.FunctionDecl

Reference 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.

No direct callersNo direct callstermFunctionDecl
Static calls · unresolved targets: unknown · external targets: unknown.

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

Definitions1
Public names2
Members3
Version26.7.0
Revisiondaab053ee433