Skip to documentation
SLOP

tiny.choir.ir.interfaces.TypeParamInterface

Reference tiny.choir ir interfaces TypeParamInterface

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.interfacesTypeParamInterface
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/choir/src/core/interfaces/types.zig:296

zig
pub const TypeParamInterface = struct {    pub const interface_name = "ir.interface.type_param";    pub const id: InterfaceId = base.interfaceId(interface_name);    pub const VTable = struct {        parse: *const fn (type_ptr: *const anyopaque, ctx: *const ContextOpaque) anyerror!?TypeParamPayload,    };    pub fn entry(vtable: *const VTable) InterfaceEntry {        return .{ .id = id, .vtable = vtable };    }    pub fn vtableFor(        comptime parse: *const fn (type_ptr: *const anyopaque, ctx: *const ContextOpaque) anyerror!?TypeParamPayload,    ) *const VTable {        return &.{ .parse = parse };    }    pub fn entryFor(        comptime parse: *const fn (type_ptr: *const anyopaque, ctx: *const ContextOpaque) anyerror!?TypeParamPayload,    ) InterfaceEntry {        return entry(vtableFor(parse));    }};

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

zig
pub const TypeParamInterface = types.TypeParamInterface;

Also reachable as

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

Audit

Definitions7
Public names14
Members1
Version26.7.0
Revisiondaab053ee433