src/t-reader.js
function accept($, type) {
    let token = $.tokens[$.pos];
    if (token.type !== type) {
        return false;
    }
    $.pos++;
    return true;
}
function accept($, type) {
    let token = $.tokens[$.pos];
    if (token.type !== type) {
        return false;
    }
    $.pos++;
    return true;
}
(object, string) => boolean