src/main/java/org/jsoup/select/QueryParser.java
/**
     * Parse a CSS query into an Evaluator.
     * @param query CSS query
     * @return Evaluator
     * @see Selector selector query syntax
     */
Parse a CSS query into an Evaluator.
@param query CSS query
@return Evaluator
@see Selector selector query syntax
Parse a CSS query into an Evaluator . @param query CSS query @return Evaluator @see Selector selector query syntax
public static Evaluator parse(String query) {
        try {
            QueryParser p = new QueryParser(query);
            return p.parse();
        } catch (IllegalArgumentException e) {
            throw new Selector.SelectorParseException(e.getMessage());
        }
    }
public static Evaluator parse ( String query ) { try { QueryParser p = new QueryParser ( query ) ; return p . parse ( ) ; } catch ( IllegalArgumentException e ) { throw new Selector . SelectorParseException ( e . getMessage ( ) ) ; } }
Parse a CSS query into an Evaluator.
Parse a CSS query into an Evaluator .