Skip to main content

declaration_dependencies

Function declaration_dependencies 

Source
pub fn declaration_dependencies(decl: &Declaration) -> Vec<Name>
Expand description

Collect the names of all constants referenced in a declaration.

This includes references in both the type and the value (if present).