skipSymbolOperator

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

Examples

Test skipping over symbol operators

import mir.deser.text.tokenizer : tokenizeString;

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

test("+", 0);
test("++", 0);
test("+= ", ' ');
test("%b", 'b');

Meta