Skip to main content

unit_reaches

Function unit_reaches 

Source
pub fn unit_reaches(unit: &SourceUnit, reach: &Reach) -> bool
Expand description

Whether a parsed unit reaches reach: it is a context that declares a service of the protocol reach names, or an instance of the capability it names. Decided on the parsed declarations, so a comment or a string literal that spells the words reaches nothing.