Abstracted out SwimAstVisitor base class and then inherited it in
SwimXmlVisitor.