MCPcopy Create free account
hub / github.com/apache/thrift / Token

Class Token

compiler/cpp/tests/catch/catch.hpp:4586–4591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4584 public:
4585
4586 struct Token {
4587 enum Type { Positional, ShortOpt, LongOpt };
4588 Token( Type _type, std::string const& _data ) : type( _type ), data( _data ) {}
4589 Type type;
4590 std::string data;
4591 };
4592
4593 Parser() : mode( None ), from( 0 ), inQuotes( false ){}
4594

Callers 2

handleOptMethod · 0.85
handlePositionalMethod · 0.85

Calls

no outgoing calls

Tested by 2

handleOptMethod · 0.68
handlePositionalMethod · 0.68