예제 #1
0
        public override SelectorMatcher GetMatcher()
        {
            SelectorMatcher matcher = (in SelectorMatcherContext ctx) => false;

            foreach (var selector in Children)
            {
                matcher = SelectorCompilerHelper.ComposeOr(SelectorCompiler.Compile(selector), matcher);
            }

            return(matcher);
        }
예제 #2
0
 public override SelectorMatcher GetMatcher()
 {
     return(SelectorCompiler.Compile(this));
 }