示例#1
0
文件: EndLeaf.cs 项目: EflfK/Parser
        public override bool Equals(object obj)
        {
            EndLeaf <t1, t2, t3> tempLeaf = obj as EndLeaf <t1, t2, t3>;

            if (tempLeaf == null)
            {
                return(false);
            }

            return(tempLeaf.Value.Equals(this.Value));
        }
示例#2
0
文件: EndLeaf.cs 项目: EflfK/Parser
 public EndLeaf(EndLeaf <t1, t2, t3> AnotherEndLeaf) : base(AnotherEndLeaf)
 {
     this.Value = AnotherEndLeaf.Value.Clone() as IValue <t1, t2>;
 }