public void Dump() { // Write the block label. Dumper.Printf("%s:", GetName()); Dumper.Incr(); // Dump the instructions. foreach (Instruction inst in instructions) { inst.Dump(); } Dumper.Decr(); }
public override void Dump() { Dumper.Printf("namespace %s", name); Dumper.Printf("{"); { Dumper.Incr(); // Dump the members. foreach (ScopeMember member in members.Values) { member.Dump(); } Dumper.Decr(); } Dumper.Printf("}"); }
public override void Dump() { Dumper.Printf("property %s %s", GetVariableType().GetName(), GetName()); Dumper.Printf("{"); Dumper.Incr(); // Dump the accessors. if (getAccessor != null) { Dumper.Printf("get = %s", getAccessor.GetName()); } if (setAccessor != null) { Dumper.Printf("set = %s", setAccessor.GetName()); } Dumper.Decr(); Dumper.Printf("}"); }
public void Dump() { Dumper.Printf("{"); Dumper.Incr(); // Write the blocks. Dumper.Printf("blocks"); Dumper.Printf("{"); Dumper.Incr(); foreach (BasicBlock block in blocks) { Dumper.Printf("%s", block.GetName()); } Dumper.Decr(); Dumper.Printf("}"); // Write the catches. foreach (Handler h in handlers) { Dumper.Printf("catch %s %s", h.exception.GetFullName(), h.handler.GetName()); } // Write the cleanup. if (cleanup != null) { Dumper.Printf("cleanup %s", cleanup.GetName()); } // Write the children context foreach (ExceptionContext child in children) { Dumper.Printf("context"); child.Dump(); } Dumper.Decr(); Dumper.Printf("}"); }
public override void Dump() { Dumper.Printf("typedef %s %s", actualType.GetFullName(), GetName()); }