Exemplo n.º 1
0
 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()));
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public bool IsEqualTo(LRConfig Config)
 {
     return((this.Parent.TableIndex == Config.TableIndex()) & (this.Position == Config.Position));
 }