CallGraphGeneratorStep

Trait CallGraphGeneratorStep 

Source
pub trait CallGraphGeneratorStep {
    // Required methods
    fn name(&self) -> &'static str;
    fn config(&mut self, config: &HashMap<String, String>);
    fn generate(
        &self,
        input: CallGraphGeneratorInput,
        ctx: &mut CallGraphGeneratorContext,
        graph: &mut CallGraph,
    ) -> Result<()>;
}

Required Methods§

Source

fn name(&self) -> &'static str

Source

fn config(&mut self, config: &HashMap<String, String>)

Configure the step with settings.

Source

fn generate( &self, input: CallGraphGeneratorInput, ctx: &mut CallGraphGeneratorContext, graph: &mut CallGraph, ) -> Result<()>

Generate part of the call graph.

Implementors§