parse aliases and symbols in imports
use mixin to generate class Visitor