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

Method handlePositional

compiler/cpp/tests/catch/catch.hpp:4656–4663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4654 return None;
4655 }
4656 Mode handlePositional( std::size_t i, char c, std::string const& arg, std::vector<Token>& tokens ) {
4657 if( inQuotes || std::string( "\0", 1 ).find( c ) == std::string::npos )
4658 return mode;
4659
4660 std::string data = arg.substr( from, i-from );
4661 tokens.push_back( Token( Token::Positional, data ) );
4662 return None;
4663 }
4664 };
4665
4666 template<typename ConfigT>

Callers

nothing calls this directly

Calls 4

stringFunction · 0.85
TokenClass · 0.85
findMethod · 0.80
substrMethod · 0.45

Tested by

no test coverage detected