Skip to main content

provides_from_command

Function provides_from_command 

Source
pub fn provides_from_command(command: &SyntaxNode) -> Option<ProvidesDecl>
Expand description

Extract a ProvidesDecl from a \Provides… COMMAND node, or None if the name group is a non-literal (nested macro) or the command is not a \Provides….