Skip to main content

Module match_syntax

Module match_syntax 

Source
Expand description

Port of the second half of src/validation/match.ts: matchSyntax(), the unordered syntaxes (||, &&) and matchProperty() (the built-in types, see match_property.rs).

Re-exports§

pub use super::match_property::match_property;
pub use super::match_property::match_repeatable_syntax;

Functions§

match_syntax
match a sequence of syntaxes
peek_feature_tokens
the tokens of a media / container feature: the tokens before the closing parenthesis