public override void Visit(AmlParser.DefPowerRes defPowerRes) { AbsoluteNodePath oldPath = currentPath; Node node = acpiNamespace.CreateNodeAt(defPowerRes.nameString.nodePath, currentPath); currentPath = node.Path; foreach (AmlObject amlObject in defPowerRes.amlObjectList) { amlObject.Accept(this); } currentPath = oldPath; }
public override void Visit(AmlParser.DefPowerRes defPowerRes) { AbsoluteNodePath oldPath = currentPath; Node node = acpiNamespace.LookupNode(defPowerRes.nameString.nodePath, currentPath); node.Value = new AcpiObject.PowerResource(defPowerRes.systemLevel.byteData, defPowerRes.resourceOrder.wordData); currentPath = node.Path; foreach (AmlObject amlObject in defPowerRes.amlObjectList) { amlObject.Accept(this); } currentPath = oldPath; }
public virtual void Visit(AmlParser.DefPowerRes defPowerRes) { UnhandledNodeType("DefPowerRes"); }