AmlInterp.AmlFrame: type of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/aml_interp.bend as AmlInterp Lines 83-105 of bend-osdev-acpi@0.1.1.0/aml_interp.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/aml_interp.bend&start_line=83&end_line=105 import Base import bend-osdev-acpi@0.1.1.0/aml_value.bend as V type AmlFrame is Data: AmlFArgs{op: AmlOp, got: List<&2, V.AmlValue>, todo: List<&2, AmlArgK>} # a nested term list (Scope, Device, Else, ...): where to resume, and the # scope to restore AmlFSeq{after: AmlCur, scope: String} # an If whose predicate is being read AmlFIf{after: AmlCur} # an If whose body is running AmlFIfBody{after: AmlCur} # a While: its predicate's start, what follows it, and whether the body # is running (else the predicate is being read) AmlFWhile{start: AmlCur, after: AmlCur, body: Bool} # a method call's return point AmlFCall{ctx: AmlCtx, back: AmlCur} # a Buffer whose size is being read; the rest of its package is its # initializer AmlFBuffer{after: AmlCur} # a Package: its NumElements, the elements so far (last first) AmlFPkg{count: Nat, got: List<&2, V.AmlValue>, after: AmlCur} # a VarPackage whose count is being read AmlFVarPkg{after: AmlCur} # the bottom: the definition block, or the method evaluated AmlFTop{} Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_interp.bend&name=AmlArgK https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_interp.bend&name=AmlCtx https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_interp.bend&name=AmlCur https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_interp.bend&name=AmlOp https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/aml_value.bend&name=AmlValue