Skip to main content

locate_callee

Function locate_callee 

Source
pub fn locate_callee<'a>(
    callee: &Callee,
    files: impl IntoIterator<Item = (Url, &'a str)>,
) -> Option<Location>
Expand description

Find the handler callee names among files (the callee unit’s files: URI and analysed text), and return its declaration. A service’s handler is its on call (named method, or unnamed when method is None); an agent’s is its on call method.