js/logEventMatcher/lemParser.js
/*
     * Checks if the next token is the type specified by the argument and
     * advances if it does. Also returns true if the next token is the type
     * specified by the argument.
     */
Checks if the next token is the type specified by the argument and
advances if it does. Also returns true if the next token is the type
specified by the argument.
Checks if the next token is the type specified by the argument and advances if it does . Also returns true if the next token is the type specified by the argument .
function checkAdvance(type) {
        if (check(type)) {
            advance();
            return true;
        }
        else {
            return false;
        }
    }
function checkAdvance ( type ) { if ( check ( type ) ) { advance ( ) ; return true ; } else { return false ; } }
Checks if the next token is the type specified by the argument and
 advances if it does.
Checks if the next token is the type specified by the argument and advances if it does .