src/main/java/jlox/Scanner.java
private boolean match(char expectedChar){
        if(isAtEnd()) return false;
        else{
            current++;
            return source.charAt(current-1) == expectedChar;
        }
    }
/**
     * Checks if the next character to be read is an specific character received as a parameter
     * @param expectedChar
     * @return
     */
Checks if the next character to be read is an specific character received as a parameter
@param expectedChar
@return
Checks if the next character to be read is an specific character received as a parameter @param expectedChar @return
private boolean match(char expectedChar){
        if(isAtEnd()) return false;
        else{
            current++;
            return source.charAt(current-1) == expectedChar;
        }
    }
private boolean match ( char expectedChar ) { if ( isAtEnd ( ) ) return false ; else { current ++ ; return source . charAt ( current - 1 ) == expectedChar ; } }
Checks if the next character to be read is an specific character received as a parameter
 @param expectedChar
 @return
Checks if the next character to be read is an specific character received as a parameter @param expectedChar @return