Iterator parsing argument groups. More...
#include <senf/Utils/Console/Parse.hh>
Public Member Functions | |
ArgumentIterator () | |
ArgumentIterator (ParseCommandInfo::TokensRange::iterator i) | |
Iterator parsing argument groups.
This special iterator parses a token range returned by the parser into argument ranges. An argument range is either a single token or it is a range of tokens enclosed in matching parenthesis. The ParseCommandInfo::arguments() uses this iterator type. To recursively parse complex arguments, you can however use this iterator to divide a multi-token argument into further argument groups (e.g. to parse a list or vector of items).
This iterator is a bidirectional iterator not a random access iterator.
senf::console::ParseCommandInfo::ArgumentIterator::ArgumentIterator | ( | ) |
|
explicit |