Skip to content

Commit

Permalink
refactor(css_parser): Renamed 'CssSimpleFunction' to 'CssFunction'
Browse files Browse the repository at this point in the history
All instances of 'CssSimpleFunction' have been replaced with 'CssFunction' across multiple files. This includes updates to function names, variable names, and type annotations.
  • Loading branch information
denbezrukov committed Jan 18, 2024
1 parent 13f35fc commit 260e74c
Show file tree
Hide file tree
Showing 3 changed files with 224 additions and 174 deletions.
3 changes: 2 additions & 1 deletion crates/biome_css_parser/src/syntax/value/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,15 @@ impl ParseRecovery for ParameterListParseRecovery {
/// - A comma ',', indicating the list separator.
/// - The next parameter, indicating the start of a new parameter.
/// - A closing parenthesis ')', indicating the end of a parameter list.
/// - A ';', indicating the end of a declaration.
/// # Examples
/// Basic usage in CSS:
///
/// ```css
/// transform: rotate(30deg,, /* Error in parameter, recover here */)
/// ```
fn is_at_recovered(&self, p: &mut Self::Parser<'_>) -> bool {
p.at_ts(token_set!(T![,], T![')'])) || is_at_parameter(p)
p.at_ts(token_set!(T![,], T![')'], T![;])) || is_at_parameter(p)
}
}

Expand Down
Loading

0 comments on commit 260e74c

Please sign in to comment.