Function parse_file
pub fn parse_file<'a, 'b, T>(
fm: &'a SourceFile,
comments: Option<&'b dyn Comments>,
config: ParserConfig,
errors: &mut Vec<Error>,
) -> Result<T, Error>
Available on crate features
__css
and css_parser
only.Expand description
Parse a given file as T
.
If there are syntax errors but if it was recoverable, it will be appended
to errors
.