public void AdjustBracket(TKTConstructorDesc that) { if (this.Bracket == null || that.Bracket == null) { return; } that.Bracket = this.Bracket.Adjust(that.Bracket); }
public bool Eq(TKTConstructorDesc another) { if (this == another) { return(true); } return(EqBrackets(another)); }
bool EqBrackets(TKTConstructorDesc another) { if (this.Bracket == null && another.Bracket == null) { return(true); } if (this.Bracket != null && another.Bracket != null) { return(this.Bracket.Eq(another.Bracket)); } return(false); }