Definition at line 826 of file yaml_decoders.cc.
◆ decode()
Definition at line 827 of file yaml_decoders.cc.
828 {
829 assert(node.Type() == NodeType::Map || node.Type() == NodeType::Scalar);
830
831 if (node.Type() == NodeType::Scalar) {
832
833
835 }
836 else {
837 for (const auto &it : node) {
838 auto key = it.first.as<std::string>();
839 if (key == "default") {
841 }
842 else {
843 try {
844 auto index = stoul(key);
845 rhs.argument_hints[index] =
847 }
848 catch (std::exception &e) {
849 return false;
850 }
851 }
852 }
853 }
854
855 return true;
856 }
The documentation for this struct was generated from the following file: