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

Method equals_atom

crates/csskit_derives/src/attributes.rs:52–55  ·  view source on GitHub ↗
(&self, cursor: Ident)

Source from the content-addressed store, hash-verified

50 }
51
52 pub fn equals_atom(&self, cursor: Ident) -> TokenStream {
53 let atom = self.path();
54 quote! { p.equals_atom(#cursor.into(), &#atom) }
55 }
56
57 pub fn to_atom(&self, cursor: Ident) -> TokenStream {
58 let atom_set = self.first_segment();

Callers 1

parse_keyword_tokensMethod · 0.45

Calls 1

pathMethod · 0.80

Tested by

no test coverage detected