Skip to main content

public_declarations

Function public_declarations 

Source
pub fn public_declarations(snode: &SNode) -> Vec<PublicDeclaration>
Expand description

Return every public name introduced by one declaration.

Interfaces are public by language design: unlike the other declaration forms, the grammar does not accept a pub modifier for them. Attributes preserve the visibility of their wrapped declaration.