public PseudoClassSelectorAnBFunction(string Name, DataConsumer <CssToken> Stream) : base(Name) { AnB = CssAnBMatcher.Consume(Stream); if (Stream.Next.Type == ECssTokenType.Ident && (Stream.Next as IdentToken).Value.Equals("or")) { Stream.Consume();// Consume the 'or' string token Selectors = SelectorParser.Consume_Selector_List(Stream); } }
public PseudoClassSelectorNegationFunction(string Name, DataConsumer <CssToken> Stream) : base(Name) { Selector = SelectorParser.Consume_Single_Selector(Stream); }