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

Method parseIntoTokens

ext/catch.hpp:4512–4516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4510 Parser() : mode( None ), from( 0 ), inQuotes( false ){}
4511
4512 void parseIntoTokens( std::vector<std::string> const& args, std::vector<Token>& tokens ) {
4513 const std::string doubleDash = "--";
4514 for( std::size_t i = 1; i < args.size() && args[i] != doubleDash; ++i )
4515 parseIntoTokens( args[i], tokens);
4516 }
4517
4518 void parseIntoTokens( std::string const& arg, std::vector<Token>& tokens ) {
4519 for( std::size_t i = 0; i <= arg.size(); ++i ) {

Callers 1

parseIntoMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected