| 140 | } |
| 141 | |
| 142 | std::shared_ptr<WireCommand> InvokeDecoder(const json& jsonArgs) { |
| 143 | const auto& invokeParams = jsonArgs.get<json::object_t>(); |
| 144 | |
| 145 | CukeEngine::invoke_args_type args; |
| 146 | CukeEngine::invoke_table_type tableArg; |
| 147 | const std::string& id = invokeParams.at("id"); |
| 148 | fillInvokeArgs(invokeParams, args, tableArg); |
| 149 | return std::make_shared<InvokeCommand>(id, args, tableArg); |
| 150 | } |
| 151 | |
| 152 | std::shared_ptr<WireCommand> SnippetTextDecoder(const json& jsonArgs) { |
| 153 | const auto& snippetTextArgs = jsonArgs.get<json::object_t>(); |
nothing calls this directly
no test coverage detected