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

Method ident

crates/css_ast/src/rules/property.rs:42–44  ·  view source on GitHub ↗

Returns a cursor to the dashed identifier (e.g., `--my-color`).

(&self)

Source from the content-addressed store, hash-verified

40impl PropertyPrelude {
41 /// Returns a cursor to the dashed identifier (e.g., `--my-color`).
42 pub fn ident(&self) -> Cursor {
43 self.0.into()
44 }
45}
46
47#[derive(Parse, Peek, ToSpan, ToCursors, SemanticEq, Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]

Callers 2

mainFunction · 0.45
get_propertyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected