Skip to documentation
SLOP

tiny.choir.ir.interfaces.SymbolUserOpInterface

Reference tiny.choir ir interfaces SymbolUserOpInterface

Defined in ir.interfaces.

API (6)

Actions

Public operations.

Types and contracts

Public types and contracts.

Values and defaults

Public values and defaults.

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

Source

Source: lib/choir/src/core/interfaces/ops.zig:1049

zig
pub const SymbolUserOpInterface = struct {    pub const interface_name = "ir.interface.symbol_user_op";    pub const id: InterfaceId = base.interfaceId(interface_name);    pub const VTable = struct {        verifySymbolUses: *const fn (            op: *const anyopaque,            symbol_tables: *IrSymbolTable.Collection,        ) anyerror!void,    };    pub fn entry(vtable: *const VTable) InterfaceEntry {        return .{ .id = id, .vtable = vtable };    }    pub fn vtableFor(        comptime verifySymbolUses: *const fn (            op: *const anyopaque,            symbol_tables: *IrSymbolTable.Collection,        ) anyerror!void,    ) *const VTable {        return &.{ .verifySymbolUses = verifySymbolUses };    }    pub fn entryFor(        comptime verifySymbolUses: *const fn (            op: *const anyopaque,            symbol_tables: *IrSymbolTable.Collection,        ) anyerror!void,    ) InterfaceEntry {        return entry(vtableFor(verifySymbolUses));    }};

Source: lib/choir/src/core/interfaces/root.zig:43

zig
pub const SymbolUserOpInterface = ops.SymbolUserOpInterface;

Also reachable as

backends.wasm.emission.module_encoding.common.ir.interfaces.SymbolUserOpInterface.

Audit

Definitions7
Public names14
Members1
Version26.7.0
Revisiondaab053ee433