private Statement parseStatement() 
	throws SyntaxError, IOException
    {
	Statement result = null;
	Token token = scanner.getCurrentToken();
	switch (token) {
	case IF:
	    result = parseIfStatement();
	    break;
	case WHILE:
	    result = parseWhileStatement();
	    break;
	case SET:
	    result = parseSetStatement();
	    break;
	case INCR:
	    result = parseIncrStatement();
	    break;
	case DECR:
	    result = parseDecrStatement();
	    break;
	case RETURN:
	    result = parseReturnStatement();
	    break;
	case LBRACE:
	    result = parseBlockStatement();
	    break;
	default:
	    result = parseCallStatement();
	    break;
	}
	return result;
    }