get all traits of ancestor classes & ancestor traits

useful when using setters in traits
it's to enable iterating over an array that is added to within the loop

not tied to the syntax if there's a nicer way to do this