Function style::properties_and_values::rule::parse_property_block
source ยท pub fn parse_property_block<'i, 't>(
context: &ParserContext<'_>,
input: &mut Parser<'i, 't>,
name: PropertyRuleName,
source_location: SourceLocation,
) -> Result<PropertyRegistration, ParseError<'i>>
Expand description
Parse the block inside a @property
rule.
Valid @property
rules result in a registered custom property, as if registerProperty()
had
been called with equivalent parameters.