| 4524 | } |
| 4525 | } |
| 4526 | Mode handleMode( std::size_t i, char c, std::string const& arg, std::vector<Token>& tokens ) { |
| 4527 | switch( mode ) { |
| 4528 | case None: return handleNone( i, c ); |
| 4529 | case MaybeShortOpt: return handleMaybeShortOpt( i, c ); |
| 4530 | case ShortOpt: |
| 4531 | case LongOpt: |
| 4532 | case SlashOpt: return handleOpt( i, c, arg, tokens ); |
| 4533 | case Positional: return handlePositional( i, c, arg, tokens ); |
| 4534 | default: throw std::logic_error( "Unknown mode" ); |
| 4535 | } |
| 4536 | } |
| 4537 | |
| 4538 | Mode handleNone( std::size_t i, char c ) { |
| 4539 | if( inQuotes ) { |
nothing calls this directly
no outgoing calls
no test coverage detected