public void PrepareExpression(CssCombinatorOperator combinator)
{
switch (combinator)
{
default:
{
}
break;
case CssCombinatorOperator.AdjacentSibling:
{
throw new NotSupportedException();
}
break;
case CssCombinatorOperator.Child:
{
throw new NotSupportedException();
}
break;
case CssCombinatorOperator.Descendant:
{
throw new NotSupportedException();
}
break;
case CssCombinatorOperator.GeneralSibling:
{
throw new NotSupportedException();
}
break;
case CssCombinatorOperator.List:
{
CssCompundElementSelector combinatorExpr = new CssCompundElementSelector(combinator);
combinatorExpr.LeftSelector = this.elementSelector;
this.elementSelector = combinatorExpr;
}
break;
}
}
public void AddSelector(CssSimpleElementSelector primExpr)