def in.exec

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

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_host.bend as Hs

2891# Exec: the next term of the list, or its end
2892def in.exec(~H: Data, ~io: H -> Hs.AmlHostOp -> Result<&2, &2, E.AcpiError, Hs.AmlHostAns<H>>, end: Bool, +c: AmlCur, fs: List<&2, AmlFrame>, +w: AmlWorld<H>) -> AmlMachine<H>:
2893  match end:
2894    case True{}:
2895      in.end(H, fs, c, w)
2896    case False{}:
2897      in.read.term(~H, ~io, AmlKTerm{}, cur.byte(c), True{}, fs, w)

Uses (14)

Used by (1)