MCPcopy Create free account
hub / github.com/cirquit/trdrop / handlePositional

Method handlePositional

ext/catch.hpp:4571–4578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4569 return None;
4570 }
4571 Mode handlePositional( std::size_t i, char c, std::string const& arg, std::vector<Token>& tokens ) {
4572 if( inQuotes || std::string( "\0", 1 ).find( c ) == std::string::npos )
4573 return mode;
4574
4575 std::string data = arg.substr( from, i-from );
4576 tokens.push_back( Token( Token::Positional, data ) );
4577 return None;
4578 }
4579 };
4580
4581 template<typename ConfigT>

Callers

nothing calls this directly

Calls 2

TokenClass · 0.85
findMethod · 0.80

Tested by

no test coverage detected