| 150 | } |
| 151 | |
| 152 | std::shared_ptr<WireCommand> SnippetTextDecoder(const json& jsonArgs) { |
| 153 | const auto& snippetTextArgs = jsonArgs.get<json::object_t>(); |
| 154 | const std::string& stepKeyword = snippetTextArgs.at("step_keyword"); |
| 155 | const std::string& stepName = snippetTextArgs.at("step_name"); |
| 156 | const std::string& multilineArgClass = snippetTextArgs.at("multiline_arg_class"); |
| 157 | return std::make_shared<SnippetTextCommand>(stepKeyword, stepName, multilineArgClass); |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | static const std::map<std::string, CommandDecoder> commandDecodersMap = { |
nothing calls this directly
no outgoing calls
no test coverage detected