Function rubble_templates_core::functions::resolve_params [−][src]
pub fn resolve_params(
evaluator: &dyn Evaluator,
parameters: &[SyntaxNode],
context: &mut Context
) -> Result<Vec<String>, SyntaxError>
Resolves a slice of SyntaxNodes to a Vec
of strings.
Invokes Evaluator on each SyntaxNode and returns a Result
containing a Vec
of strings (baked parameters ready to use)
or a SyntaxError if any parameter evaluation fails.