MCPcopy Create free account
hub / github.com/FidoProject/Fido / parseIntoTokens

Method parseIntoTokens

tests/catch.h:4151–4155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4149 };
4150
4151 void parseIntoTokens( int argc, char const* const argv[], std::vector<Parser::Token>& tokens ) const {
4152 const std::string doubleDash = "--";
4153 for( int i = 1; i < argc && argv[i] != doubleDash; ++i )
4154 parseIntoTokens( argv[i] , tokens);
4155 }
4156 void parseIntoTokens( std::string arg, std::vector<Parser::Token>& tokens ) const {
4157 while( !arg.empty() ) {
4158 Parser::Token token( Parser::Token::Positional, arg );

Callers 1

parseIntoMethod · 0.80

Calls 4

TokenClass · 0.85
emptyMethod · 0.80
findMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected