MCPcopy Create free account
hub / github.com/Illumina/paragraph / addPathInArg

Method addPathInArg

external/jsoncpp/jsoncpp.cpp:4049–4060  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4047}
4048
4049void Path::addPathInArg(const JSONCPP_STRING& /*path*/,
4050 const InArgs& in,
4051 InArgs::const_iterator& itInArg,
4052 PathArgument::Kind kind) {
4053 if (itInArg == in.end()) {
4054 // Error: missing argument %d
4055 } else if ((*itInArg)->kind_ != kind) {
4056 // Error: bad argument type
4057 } else {
4058 args_.push_back(**itInArg++);
4059 }
4060}
4061
4062void Path::invalidPath(const JSONCPP_STRING& /*path*/, int /*location*/) {
4063 // Error: invalid path.

Callers

nothing calls this directly

Calls 1

endMethod · 0.45

Tested by

no test coverage detected