Skip to main content

parse_string_with

Function parse_string_with 

Source
pub fn parse_string_with(
    arena: &AstArena,
    src: &str,
    options: Option<&ParserOptions>,
    errors: Option<&mut Vec<ErrorDescription>>,
) -> Vec<u32>
Expand description

parse a css string into tokens. options: src and parseColor; None is null (the colors are parsed)