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

Class Token

tests/catch.h:4144–4149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4142 Parser() : separators( " \t=:" ) {}
4143
4144 struct Token {
4145 enum Type { Positional, ShortOpt, LongOpt };
4146 Token( Type _type, std::string const& _data ) : type( _type ), data( _data ) {}
4147 Type type;
4148 std::string data;
4149 };
4150
4151 void parseIntoTokens( int argc, char const* const argv[], std::vector<Parser::Token>& tokens ) const {
4152 const std::string doubleDash = "--";

Callers 1

parseIntoTokensMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected