コード例 #1
0
 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);
     }
 }
コード例 #2
0
 public PseudoClassSelectorNegationFunction(string Name, DataConsumer <CssToken> Stream) : base(Name)
 {
     Selector = SelectorParser.Consume_Single_Selector(Stream);
 }