pub trait AliasAnalysis: Analysis {
// Required methods
fn get_fn_alias(&self, def_id: DefId) -> Option<AAResult>;
fn get_all_fn_alias(&self) -> AAResultMap;
// Provided method
fn get_local_fn_alias(&self) -> AAResultMap { ... }
}
Expand description
This trait provides features related to alias analysis.
Required Methods§
Sourcefn get_fn_alias(&self, def_id: DefId) -> Option<AAResult>
fn get_fn_alias(&self, def_id: DefId) -> Option<AAResult>
Return the aliases among the function arguments and return value of a specific function.
Sourcefn get_all_fn_alias(&self) -> AAResultMap
fn get_all_fn_alias(&self) -> AAResultMap
Return the aliases among the function arguments and return value for all functions.
Provided Methods§
Sourcefn get_local_fn_alias(&self) -> AAResultMap
fn get_local_fn_alias(&self) -> AAResultMap
Return the aliases among the function arguments and return value for functions of the local crate.