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

            foreach (var child in node)
            {
                clone.Add(child.Accept(this));
            }
            return(clone);
        }
Ejemplo n.º 2
0
 public virtual T Visit(Compiler.Parsing.Data.ElseBlock node)
 {
     return(Visit((Compiler.Parsing.Data.Node)node));
 }