MCPcopy Create free account
hub / github.com/cucumber/cucumber-cpp / SnippetTextDecoder

Function SnippetTextDecoder

src/connectors/wire/WireProtocol.cpp:152–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152std::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
161static const std::map<std::string, CommandDecoder> commandDecodersMap = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected