A decorator that provides methods on symbols that are needed in the transformer pipeline.
If this is a sealed class, its known children
All traits implemented by a class or trait except for those inherited through the superclass.
The closest enclosing method or class of this symbol
The closest properly enclosing method or class of this symbol.
Is this symbol defined locally (i.e. at some level owned by a term) and
defined in a different toplevel class than its supposed parent class
Such children are not pickled, and have to be reconstituted manually.
Is symbol directly or indirectly owned by a term symbol?
A type or term parameter or a term parameter accessor
All traits implemented by a class, except for those inherited through the superclass.
The empty list if
self is a trait.
If this symbol is an enum value or a named class, register it as a child in all direct parent classes which are sealed.
If this is a constructor, its owner: otherwise this.
Apply symbol/symbol substitution to this symbol