public IXamlAstNode Visit(IXamlAstNode root, IXamlAstTransformer transformer)
 {
     root = root.Visit(new Visitor(this, transformer));
     return(root);
 }
 public void VisitChildren(IXamlAstNode root, IXamlAstTransformer transformer)
 {
     root.VisitChildren(new Visitor(this, transformer));
 }
 public Visitor(AstTransformationContext context, IXamlAstTransformer transformer)
 {
     _context     = context;
     _transformer = transformer;
 }