Skip to main content

load_engine_command_params

Function load_engine_command_params 

Source
pub fn load_engine_command_params(
    registry: &mut SymbolRegistry,
    engine_rs2: &Path,
)
Expand description

Parse the parameter types declared in an engine.rs2 file and populate registry.command_param_types. Lines like: [command,sound_synth](synth $sound, int $loops, int $delay) are parsed to extract the ordered list of parameter types per command.