private boolean checkTokens(Token found, Token.Type required)
            throws SyntaxException {
        
        if (!found.type().is(required)) {
            throw (InvalidTokenException)new InvalidTokenException(
                found, 
                required
            )
            .initPosition(found.coordinates().starting())
            .Log("ru.bmstu.iu9.compiler.syntax");
        }
        return true;
    }