class BaseParser {

    protected final char pop() throws ParserException {
        if (available()) {
            if (toParse.charAt(currentPosition) == '\n') {
                currentLine++;
            }
            return toParse.charAt(currentPosition++);
        } else {
            die("Unexpected EOF");
            return 0;
        }
    }

    public  BaseParser(String toParse);

}