Definition at line 983 of file yaml_decoders.cc.
◆ decode()
Definition at line 984 of file yaml_decoders.cc.
985 {
986 assert(node.Type() == NodeType::Map || node.Type() == NodeType::Scalar);
987
988 if (node.Type() == NodeType::Scalar) {
989
990
992 }
993 else {
994 for (const auto &it : node) {
995 auto key = it.first.as<std::string>();
996 if (key == "default") {
998 }
999 else {
1000 try {
1001 auto index = stoul(key);
1002 rhs.argument_hints[index] =
1004 }
1005 catch (std::exception &e) {
1006 return false;
1007 }
1008 }
1009 }
1010 }
1011
1012 return true;
1013 }
The documentation for this struct was generated from the following file: