Esempio n. 1
0
        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;
            }
        }
Esempio n. 2
0
        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 = _elementSelector;
                _elementSelector            = combinatorExpr;
            }
            break;
            }
        }
 public CssCompundElementSelector(CssCombinatorOperator opname)
 {
     this.OperatorName = opname;
 }
Esempio n. 4
0
 public CssCompundElementSelector(CssCombinatorOperator opname)
 {
     this.OperatorName = opname;
 }