Пример #1
0
 protected override void ProcessAttribute(Attribute attribute)
 {
     debug ("NAMESPACE ATTRIBUTE: {0}", attribute);
     switch (attribute.DwarfAttribute) {
     case DwarfAttribute.name:
         name = (string) attribute.Data;
         break;
     case DwarfAttribute.extension:
         debug ("NAMESPACE EXTENSION: {0}", attribute);
         extension = comp_unit.GetNamespace ((long) attribute.Data);
         break;
     }
 }
Пример #2
0
 public void AddNamespace(long offset, DieNamespace ns)
 {
     namespaces.Add (offset, ns);
 }