class ExtendedParser extends BaseParser {

    protected final float readTerm() throws ParserException {
        skipWhitespaces();
        float result = readFactor();
        skipWhitespaces();
        while (available() && (peek() == '*' || peek() == '/')) {
            if (pop() == '*') {
                skipWhitespaces();
                result *= readFactor();
            } else {
                skipWhitespaces();
                result /= readFactor();
            }
            skipWhitespaces();
        }
        return result;
    }

    public  ExtendedParser(String toParse);

}