def in.define

bend-osdev-acpi@0.1.1.0 · aml_interp.bend:216

import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterp
import Base
import bend-osdev-acpi@0.1.1.0/aml_ns.bend as S

216# a name created: in the namespace, and among the method call's names
217def in.define(-H: Data, w: AmlWorld<H>, +p: String, o: S.AmlObject) -> AmlWorld<H>:
218  match w:
219    case AmlWorld{AmlCtx{s, a, l, t}, n, h, e}:
220      AmlWorld{AmlCtx{s, a, l, Con{p, t}}, S.AmlNs.set(n, p, o), h, e}

Uses (6)

Used by (4)