def in.while.op
bend-osdev-acpi@0.1.1.0 · aml_interp.bend:2307
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
2307def in.while.op(-H: Data, r: Result<&2, &2, E.AcpiError, AmlPkgC>, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
2308 match r:
2309 case Fail{e}:
2310 AmlMachine{AmlMFail{e}, in.no.cur(), fs, w}
2311 case Done{AmlPkgC{+body, after}}:
2312 AmlMachine{AmlMEval{AmlKTerm{}}, body, Con{AmlFWhile{body, after, False{}}, fs}, w}