AmlInterp.in.deref: def of bend-osdev-acpi@0.1.2.0 Import: import bend-osdev-acpi@0.1.2.0/aml_interp.bend as AmlInterp Lines 1225-1232 of bend-osdev-acpi@0.1.2.0/aml_interp.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&start_line=1225&end_line=1232 import Base import bend-osdev-bytes@0.1.1.1/bytes.bend as B import bend-osdev-acpi@0.1.2.0/error.bend as E import bend-osdev-acpi@0.1.2.0/aml_name.bend as N import bend-osdev-acpi@0.1.2.0/aml_value.bend as V import bend-osdev-acpi@0.1.2.0/aml_ns.bend as S import bend-osdev-acpi@0.1.2.0/aml_host.bend as Hs def in.deref(~H: Data, ~io: H -> Hs.AmlHostOp -> Result<&2, &2, E.AcpiError, Hs.AmlHostAns>, v: V.AmlValue, +w: AmlWorld) -> Result<&2, &2, E.AcpiError, AmlRead>: match v: case V.AmlRef{l}: in.read_loc(~H, ~io, l, w) case V.AmlStr{s}: in.deref.name(~H, ~io, S.AmlNs.resolve(AmlWorld.ns(H, w), in.scope(H, w), N.AmlName.of_text(B.Octets.to_string(s))), w) case _: Fail{E.AcpiAmlBadOperand{131}} Uses (14): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_host.bend&name=AmlHostAns https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_host.bend&name=AmlHostOp https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&name=AmlRead https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&name=AmlWorld https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&name=AmlWorld.ns https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&name=in.deref.name https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&name=in.read_loc https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_interp.bend&name=in.scope https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_name.bend&name=AmlName.of_text https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_ns.bend&name=AmlNs.resolve https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/aml_value.bend&name=AmlValue https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.2.0/error.bend&name=AcpiError https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.1/bytes.bend&name=Octets.to_string