Parses a CSS selector into an Evaluator tree.
Exemplo n.º 1
0
 /// <summary>
 /// Parse a CSS query into an Evaluator.
 /// </summary>
 /// <param name="query">query CSS query</param>
 /// <returns>Evaluator</returns>
 public static Evaluator Parse(string query)
 {
     QueryParser p = new QueryParser(query);
     return p.Parse();
 }
Exemplo n.º 2
0
        /// <summary>
        /// Parse a CSS query into an Evaluator.
        /// </summary>
        /// <param name="query">query CSS query</param>
        /// <returns>Evaluator</returns>
        public static Evaluator Parse(string query)
        {
            QueryParser p = new QueryParser(query);

            return(p.Parse());
        }