public override bool Equals(object obj) { DottedRule dottedRule = obj as DottedRule; return(GetPosition() == dottedRule.GetPosition() && GetRule().Equals(dottedRule.GetRule())); }
internal Rule GetRule() { return(_dottedRule.GetRule()); }
public override string ToString() { String label = _complexNode != null?_complexNode.GetRule().ToString() : _simpleNode; return("(" + label + ", " + _leftBorder + ", " + _rightBorder + ")"); }