Crate parse_selectors

Source

Modules§

markup
regexes
script
style

Functions§

add_selector_to_map
analyse_anchor_links
analyse_prefixed_selectors
Analyse minify-selectors specific prefixed selectors.
analyse_string_of_arguments
Analyse function arguments, delimited by commas.
analyse_string_of_tokens
Analyse string with tokens delimited by whitespaces.
get_encoded_selector
Fetch replacement encoded selector from selectors hashmap.
get_function_arguments
Returns an iterator of function arguments.
is_prefixed_selector
Checks if a (minify-selector specific) prefixed selector is used in the given string snippet.
read_from_css
read_from_html
read_from_js
rewrite_anchor_links
rewrite_prefixed_selectors
Rewrite minify-selectors specific prefixed selectors.
rewrite_string_of_arguments
Rewrite function arguments, delimited by commas.
rewrite_string_of_tokens
Rewrite string with tokens delimited by whitespaces.
write_to_css
write_to_html
write_to_js