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

Method atom_path_string

crates/csskit_derives/src/parse.rs:194–196  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

192 }
193
194 fn atom_path_string(&self) -> Option<String> {
195 self.atom.as_ref().map(|a| quote!(#a).to_string())
196 }
197
198 fn peek_tokens(&self) -> TokenStream {
199 let peek_ty = if self.ty.is_option() { self.ty.unpack_option() } else { self.ty.clone() };

Callers 3

discriminatorMethod · 0.80
renderMethod · 0.80
newMethod · 0.80

Calls 1

as_refMethod · 0.80

Tested by

no test coverage detected