diff --git a/src/parse/mod.rs b/src/parse/mod.rs index 2251a93..d262a7e 100644 --- a/src/parse/mod.rs +++ b/src/parse/mod.rs @@ -230,9 +230,9 @@ impl<'a> Parser<'a> { } AtRuleKind::Use => todo!("@use not yet implemented"), AtRuleKind::Forward => todo!("@forward not yet implemented"), - AtRuleKind::Extend => todo!("@extend not yet implemented"), - AtRuleKind::Supports => todo!("@supports not yet implemented"), - AtRuleKind::Keyframes => todo!("@keyframes not yet implemented"), + AtRuleKind::Extend => self.parse_extend()?, + AtRuleKind::Supports => stmts.push(self.parse_supports()?), + AtRuleKind::Keyframes => stmts.push(self.parse_keyframes()?), } } '$' => self.parse_variable_declaration()?, @@ -1909,6 +1909,18 @@ impl<'a> Parser<'a> { stmts.extend(raw_stmts); Ok(stmts) } + + fn parse_extend(&mut self) -> SassResult<()> { + todo!("@extend not yet implemented") + } + + fn parse_supports(&mut self) -> SassResult { + todo!("@supports not yet implemented") + } + + fn parse_keyframes(&mut self) -> SassResult { + todo!("@keyframes not yet implemented") + } } impl<'a> Parser<'a> {