.
[Dom] Extended visitors
[Resolver] Refactored some if-else-if code to a Visitor-pattern