<div dir="ltr">I'm hoping for a way to incorporate the name of a leaf class into a base class' definition. Something like:<div><br></div><div><div>class BASE<dag oops, dag iops, ...</div><div>  let Trace = !strconcat("TAG", !leaf_classname)</div><div><br></div></div><div>Or less elegantly if the derived class can name itself symbolically:</div><div><br></div><div>class BASE<string leaf_classname, dag oops, dag iops, list<dag> pattern><br></div><div>...</div><div>def DERIVED : BASE<!self_classname, (outs ...<br></div><div><br></div><div>Currently I'm repeating the derived class/def name as a string which is a bit non-DRY; it's a minor pain but would be nice to avoid if there's some approach to those fantasy !leaf_classname/!self_classname operations.</div><div><br></div></div>