330 {
331 const auto &val = node.as<std::string>();
332 if (val ==
to_string(callee_type::constructor))
333 rhs = callee_type::constructor;
334 else if (val ==
to_string(callee_type::assignment))
335 rhs = callee_type::assignment;
336 else if (val ==
to_string(callee_type::operator_))
337 rhs = callee_type::operator_;
338 else if (val ==
to_string(callee_type::defaulted))
339 rhs = callee_type::defaulted;
340 else if (val ==
to_string(callee_type::static_))
341 rhs = callee_type::static_;
342 else if (val ==
to_string(callee_type::function))
343 rhs = callee_type::function;
344 else if (val ==
to_string(callee_type::function_template))
345 rhs = callee_type::function_template;
346 else if (val ==
to_string(callee_type::method))
347 rhs = callee_type::method;
348 else if (val ==
to_string(callee_type::lambda))
349 rhs = callee_type::lambda;
350 else if (val ==
to_string(callee_type::cuda_kernel))
351 rhs = callee_type::cuda_kernel;
352 else if (val ==
to_string(callee_type::cuda_device))
353 rhs = callee_type::cuda_device;
354 else
355 return false;
356
357 return true;
358 }