def AmlPath.of_name
import bend-osdev-acpi@0.1.1.0/aml_ns.bend as AmlNsimport Base
import bend-osdev-acpi@0.1.1.0/aml_name.bend as N
133# a name taken as it stands, from a scope (no search): where Name, Method
134# and the other definitions create their object
135def AmlPath.of_name(+scope: String, n: N.AmlName) -> String:
136 match n:
137 case N.AmlName{r, u, ss}:
138 ns.of_name.pick(r, u, scope, ss)