macro_rules! parse_function_call { ($func_call:expr, $type:ty) => { ... }; }
Expand description
A macro to parse a function call into a specified type.
If the parsing fails, it prints an error message and returns None
.
Arguments
$func_call
- An expression representing the function call to parse.$type
- The target type to parse the function call into.