use super::token::TokenString; pub(crate) fn call(name: &str, args: &[TokenString]) -> TokenString { match name { // Text Functions "filter" => todo!(), "filter-out" => todo!(), "sort" => todo!(), // File Name Functions "notdir" => todo!(), "basename" => todo!(), "addprefix" => todo!(), "wildcard" => todo!(), // foreach "foreach" => todo!(), // call "call" => todo!(), // eval "eval" => todo!(), // shell "shell" => todo!(), // fallback _ => panic!("function not implemented: {}", name), } }