| 32 | #[derive(ToSpan, ToCursors, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] |
| 33 | #[cfg_attr(feature = "serde", derive(serde::Serialize), serde())] |
| 34 | pub struct Declaration<T: DeclarationValue> { |
| 35 | pub name: T![Ident], |
| 36 | pub colon: T![:], |
| 37 | pub value: StyleValue<'a>, |
| 38 | pub important: Option<BangImportant>, |
| 39 | pub semicolon: Option<T![;]>, |
| 40 | } |
| 41 | |
| 42 | impl<'a> Peek<'a> for Property<'a> { |
| 43 | fn peek(p: &Parser<'a>, c: Cursor) -> bool { |