(
self, execute_data: &mut ExecuteData, num: usize,
)
| 49 | } |
| 50 | |
| 51 | pub fn validate_num_args( |
| 52 | self, execute_data: &mut ExecuteData, num: usize, |
| 53 | ) -> anyhow::Result<()> { |
| 54 | let num = match self { |
| 55 | ApiStyle::OO => num, |
| 56 | ApiStyle::Procedural => num + 1, |
| 57 | }; |
| 58 | validate_num_args(execute_data, num) |
| 59 | } |
| 60 | |
| 61 | pub fn generate_operation_name(self, class_name: Option<&str>, function_name: &str) -> String { |
| 62 | match self { |
no test coverage detected