using System; using System.Collections.Generic; namespace CPF.ReoGrid.Formula { internal class STFunctionNode : STNode { public string Name { get; set; } public STFunctionNode(string name, int start, int len, List children) : base(STNodeType.FUNCTION_CALL, start, len, children) { this.Name = name; } public override object Clone() { List list = null; bool flag = base.Children != null && base.Children.Count > 0; if (flag) { list = new List(base.Children.Count); foreach (STNode stnode in base.Children) { list.Add((STNode)stnode.Clone()); } } return new STFunctionNode(this.Name, base.Start, base.Length, list); } } }