MCPcopy Create free account
hub / github.com/csskit/csskit / get_property

Method get_property

crates/css_ast/src/rules/property.rs:26–31  ·  view source on GitHub ↗
(&self, kind: PropertyKind)

Source from the content-addressed store, hash-verified

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)]

Callers

nothing calls this directly

Calls 1

identMethod · 0.45

Tested by

no test coverage detected