public override Compiler.AST.Data.Node Visit(Compiler.AST.Data.RegisterDeclarationInit node)
        {
            var clone = new Compiler.AST.Data.RegisterDeclarationInit()
            {
                Name = node.Name, IsPlaceholder = node.IsPlaceholder
            };

            foreach (var child in node)
            {
                clone.Add(child.Accept(this));
            }
            return(clone);
        }
Beispiel #2
0
 public virtual T Visit(Compiler.AST.Data.RegisterDeclarationInit node)
 {
     return(Visit((Compiler.AST.Data.Node)node));
 }