(&self, kind: PropertyKind)
| 24 | const NODE_ID: NodeId = NodeId::PropertyRule; |
| 25 | |
| 26 | fn get_property(&self, kind: PropertyKind) -> Option<Cursor> { |
| 27 | match kind { |
| 28 | PropertyKind::Name => Some(self.prelude.ident()), |
| 29 | _ => None, |
| 30 | } |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | #[derive(Parse, Peek, ToSpan, ToCursors, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] |