1
0
Fork 0

tree(): show which nodes are aliased to which nodes

This commit is contained in:
mfranz 2008-11-26 16:07:32 +00:00
parent acff4f55ab
commit f7e246905b

View file

@ -111,6 +111,10 @@ var _tree = func(n, graph = 1, prefix = "", level = 0) {
} else {
s ~= " = " ~ debug.string(n.getValue()) ~ " " ~ attributes(n);
}
if ((var a = n.getAliasTarget()) != nil)
s ~= " " ~ _title(" alias to ") ~ " " ~ a.getPath();
print(s);
if (n.getType() != "ALIAS")