ArgTokenizer

Undocumented in source.
struct ArgTokenizer (
TRange
) if (
isInputRange!TRange &&
is(ElementType!TRange == string)
) {}

Members

Functions

empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
front
ArgToken front()
Undocumented in source. Be warned that the author may not have intended to support it.
leftoverRange
inout(TRange) leftoverRange()

NOTE: this property does not take into account the position within the string.

popFront
void popFront()

This function may throw if the characters of argument values are not valid utf8 characters. This function fails in debug if the passed arguments are not properly shell escaped. This function assumes that all option names are valid ascii symbols.

resetWithRemainingRange
void resetWithRemainingRange()

Resets the internal state, such that the orphan arguments become considered positional again.

Meta