skipDoubleColon

Undocumented in source. Be warned that the author may not have intended to support it.
@safe @nogc pure
char
skipDoubleColon

Examples

Test skipping over double-colons

import mir.deser.text.tokenizer;

void test(string ts, char result) {
    auto t = tokenizeString(ts);
    assert(t.skipDoubleColon() == result);
}

test("    :: ", ' ');
test(":: ", ' ');
test("::", 0);
test("::\t", '\t');

Meta