public void Visit(ArrayCreateNode node) { var type = node.GetArrayType().Identifier.Replace("[]", ""); source.Append("new " + type + "["); node.GetIndex().Visit(this); source.Append("]"); }
public void Visit(ArrayCreateNode node) { visitor.OnVisit((n, v) => { var r = n as ArrayCreateNode; if (r != null && r.GetArrayType() == node.GetArrayType()) { Result = IsSameChildren(r, node); } }); reference.Visit(visitor); }