Function kjp_generator::processors::generate_processors
source · [−]pub fn generate_processors(
stream: Stream,
generators: &HashMap<String, PathBuf>
) -> Result<Vec<Processor>, Box<dyn Error>>
Expand description
Generates code for all processors in a stream.
This function generates a vec of Processor
, which contains function name and function source.
Each element represents a processor function which will be running as a part of the stream
in the target JSON processor executable.