def in.method.k

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

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

2254def in.method.k(-H: Data, rn: Result<&2, &2, E.AcpiError, AmlNameC>, after: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
2255  match rn:
2256    case Fail{e}:
2257      AmlMachine{AmlMFail{e}, in.no.cur(), fs, w}
2258    case Done{AmlNameC{n, c}}:
2259      in.method.flags(H, S.AmlPath.of_name(in.scope(H, w), n), cur.byte(c), after, fs, w)

Uses (14)

Used by (1)