package net.thevpc.nuts.toolbox.nsh.parser;

public abstract class AbstractLexer implements Lexer {
    @Override
    public boolean skipWhites() {
        boolean some=false;
        while (true) {
            Token t = peekToken();
            if (t == null) {
                return some;
            }
            if (!t.isWhite()) {
                return some;
            }
            some=true;
            nextToken();
        }
    }

}
