pub trait Lift {
// Required methods
fn notation(&self) -> &'static str;
fn lift(
&self,
module: &ForeignModule,
functions: &[(FfnId, &str)],
consts: &[&str],
) -> Result<HashMap<FfnId, FnContract>>;
}Expand description
One foreign language’s contract lifting.
Required Methods§
Sourcefn lift(
&self,
module: &ForeignModule,
functions: &[(FfnId, &str)],
consts: &[&str],
) -> Result<HashMap<FfnId, FnContract>>
fn lift( &self, module: &ForeignModule, functions: &[(FfnId, &str)], consts: &[&str], ) -> Result<HashMap<FfnId, FnContract>>
The contracts of functions, called functions of module by name,
in the neutral IR, by function. consts are the .fis constants a
clause may name.
§Errors
A clause outside fic’s subset, or an identifier that is neither a parameter nor a constant.