src/main/java/jlox/Scanner.java
private char advance(){
        char c = source.charAt(current);
        current += 1;
        return c;
    }
/**
     * The advance() method consumes the next character in the source file and returns it
     * @return
     */
The advance() method consumes the next character in the source file and returns it
@return
The advance () method consumes the next character in the source file and returns it @return
private char advance(){
        char c = source.charAt(current);
        current += 1;
        return c;
    }
private char advance ( ) { char c = source . charAt ( current ) ; current += 1 ; return c ; }
The advance() method consumes the next character in the source file and returns it
 @return
The advance () method consumes the next character in the source file and returns it @return