MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / validate

Method validate

Bcore/src/main/cpp/Dobby/tests/catch.hpp:6160–6172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6158 }
6159
6160 auto validate() const -> Result override {
6161 for (auto const &opt : m_options) {
6162 auto result = opt.validate();
6163 if (!result)
6164 return result;
6165 }
6166 for (auto const &arg : m_args) {
6167 auto result = arg.validate();
6168 if (!result)
6169 return result;
6170 }
6171 return Result::ok();
6172 }
6173
6174 using ParserBase::parse;
6175

Callers

nothing calls this directly

Calls 1

validateMethod · 0.45

Tested by

no test coverage detected