MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / addPathInArg

Method addPathInArg

Sources/Dependencies/jsoncpp/value.cpp:1783–1792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1781 }
1782
1783 void Path::addPathInArg(const StringContainer& /*path*/, const InArgs& in,
1784 InArgs::const_iterator& itInArg, PathArgument::Kind kind) {
1785 if (itInArg == in.end()) {
1786 // Error: missing argument %d
1787 } else if ((*itInArg)->kind_ != kind) {
1788 // Error: bad argument type
1789 } else {
1790 args_.push_back(**itInArg++);
1791 }
1792 }
1793
1794 void Path::invalidPath(const StringContainer& /*path*/, int /*location*/) {
1795 // Error: invalid path.

Callers

nothing calls this directly

Calls 2

endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected