public bool IsLessThan(LRConfig ConfigB) { if (this.Position != ConfigB.Position) { return(this.Position > ConfigB.Position); } return((this.Parent.TableIndex != ConfigB.TableIndex()) && (this.Parent.TableIndex < ConfigB.TableIndex())); }
public LRConfigCompare CompareCore(LRConfig ConfigB) { if ((this.Parent.TableIndex == ConfigB.TableIndex()) & (this.Position == ConfigB.Position)) { LRConfigCompare compare2; switch (this.LookaheadSet.CompareTo(ConfigB.LookaheadSet)) { case DictionarySet.Compare.Equal: return(LRConfigCompare.EqualFull); case DictionarySet.Compare.UnEqual: return(LRConfigCompare.EqualCore); case DictionarySet.Compare.Subset: return(LRConfigCompare.ProperSubset); } return(compare2); } return(LRConfigCompare.UnEqual); }
public bool IsEqualTo(LRConfig Config) { return((this.Parent.TableIndex == Config.TableIndex()) & (this.Position == Config.Position)); }