public override void VisitSelectorCombination(CssSelectorCombination combination) { combination.LeftOperand.Apply(this); _sb.Append(' '); if (combination.Combinator != CssCombinator.Descendant) { _sb.Append((char)combination.Combinator).Append(' '); } combination.RightOperand.Apply(this); }
public override void VisitSelectorCombination(CssSelectorCombination combination) { combination.LeftOperand.Apply(this); if (ReferenceEquals(_matcher, Never)) { return; } var leftOperand = _matcher; combination.RightOperand.Apply(this); if (ReferenceEquals(_matcher, Never)) { return; } var rightOperand = _matcher; _matcher = new CombinationMatcher(combination.Combinator, leftOperand, rightOperand); }
public virtual void VisitSelectorCombination(CssSelectorCombination combination) { combination.LeftOperand.Apply(this); combination.RightOperand.Apply(this); }