예제 #1
0
        public override bool Equals(object obj)
        {
            DottedRule dottedRule = obj as DottedRule;

            return(GetPosition() == dottedRule.GetPosition() && GetRule().Equals(dottedRule.GetRule()));
        }
예제 #2
0
 internal Rule GetRule()
 {
     return(_dottedRule.GetRule());
 }
예제 #3
0
        public override string ToString()
        {
            String label = _complexNode != null?_complexNode.GetRule().ToString() : _simpleNode;

            return("(" + label + ", " + _leftBorder + ", " + _rightBorder + ")");
        }