fn generate_function_sig(
        &self,
        func_target: &FunctionTarget<'_>,
        entry_point: FunctionEntryPoint,
    ) {
        let (args, rets) = self.generate_function_args_and_returns(func_target);
        let inline = match entry_point {
            FunctionEntryPoint::Definition
            | FunctionEntryPoint::VerificationDefinition
            | FunctionEntryPoint::DirectIntraModule
            | FunctionEntryPoint::Indirect
            | FunctionEntryPoint::DirectInterModule => "{:inline 1} ",
            _ => "",
        };
        let suffix = entry_point.suffix();
        self.writer.set_location(&func_target.get_loc());
        emitln!(
            self.writer,
            "procedure {}{}{}({}) returns ({})",
            inline,
            boogie_function_name(func_target.func_env),
            suffix,
            args,
            rets,
        )
    }
/// Return a string for a boogie procedure header. Use inline attribute and name
/// suffix as indicated by `entry_point`.
Return a string for a boogie procedure header. Use inline attribute and name
suffix as indicated by `entry_point`.
Return a string for a boogie procedure header . Use inline attribute and name suffix as indicated by ` entry_point ` .
fn generate_function_sig(
        &self,
        func_target: &FunctionTarget<'_>,
        entry_point: FunctionEntryPoint,
    ) {
        let (args, rets) = self.generate_function_args_and_returns(func_target);
        let inline = match entry_point {
            FunctionEntryPoint::Definition
            | FunctionEntryPoint::VerificationDefinition
            | FunctionEntryPoint::DirectIntraModule
            | FunctionEntryPoint::Indirect
            | FunctionEntryPoint::DirectInterModule => "{:inline 1} ",
            _ => "",
        };
        let suffix = entry_point.suffix();
        self.writer.set_location(&func_target.get_loc());
        emitln!(
            self.writer,
            "procedure {}{}{}({}) returns ({})",
            inline,
            boogie_function_name(func_target.func_env),
            suffix,
            args,
            rets,
        )
    }
fn generate_function_sig ( & self , func_target : & FunctionTarget < ' _ > , entry_point : FunctionEntryPoint , ) { let ( args , rets ) = self . generate_function_args_and_returns ( func_target ) ; let inline = match entry_point { FunctionEntryPoint :: Definition | FunctionEntryPoint :: VerificationDefinition | FunctionEntryPoint :: DirectIntraModule | FunctionEntryPoint :: Indirect | FunctionEntryPoint :: DirectInterModule => " " , _ => " " , } ; let suffix = entry_point . suffix ( ) ; self . writer . set_location ( & func_target . get_loc ( ) ) ; emitln ! ( self writer " " inline boogie_function_name ( func_target func_env ) suffix args rets ) }
Return a string for a boogie procedure header.
Return a string for a boogie procedure header .
&self
func_target
&FunctionTarget<'_>
entry_point
FunctionEntryPoint
&self
func_target
&FunctionTarget<'_>
entry_point
FunctionEntryPoint