MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / parse

Method parse

extern/Catch2/catch.hpp:9320–9322  ·  view source on GitHub ↗

The exe name is not parsed out of the normal tokens, but is handled specially

Source from the content-addressed store, hash-verified

9318
9319 // The exe name is not parsed out of the normal tokens, but is handled specially
9320 auto parse( std::string const&, TokenStream const &tokens ) const -> InternalParseResult override {
9321 return InternalParseResult::ok( ParseState( ParseResultType::NoMatch, tokens ) );
9322 }
9323
9324 auto name() const -> std::string { return *m_name; }
9325 auto set( std::string const& newName ) -> ParserResult {

Callers

nothing calls this directly

Calls 1

ParseStateClass · 0.85

Tested by

no test coverage detected