/* Datatype sort ------------------------------------------------------- */
/**
- * @return the parameter sorts of a datatype sort
+ *
+ * Return the parameters of a parametric datatype sort. If this sort is a
+ * non-instantiated parametric datatype, this returns the parameter sorts of
+ * the underlying datatype. If this sort is an instantiated parametric
+ * datatype, then this returns the sort parameters that were used to
+ * construct the sort via ``Sort::instantiate``.
+ *
+ * @return the parameter sorts of a parametric datatype sort.
*/
std::vector<Sort> getDatatypeParamSorts() const;
/* Datatype sort ------------------------------------------------------- */
/**
+ * Return the parameters of a parametric datatype sort. If this sort is a
+ * non-instantiated parametric datatype, this returns the parameter sorts of
+ * the underlying datatype. If this sort is an instantiated parametric
+ * datatype, then this returns the sort parameters that were used to
+ * construct the sort via Sort.instantiate().
+ *
* @return the parameter sorts of a datatype sort
*/
public Sort[] getDatatypeParamSorts()
def getDatatypeParamSorts(self):
"""
- :return: the parameter sorts of a datatype sort
+ Return the parameters of a parametric datatype sort. If this sort
+ is a non-instantiated parametric datatype, this returns the
+ parameter sorts of the underlying datatype. If this sort is an
+ instantiated parametric datatype, then this returns the sort
+ parameters that were used to construct the sort via
+ :py:meth:`instantiate()`.
+
+ :return: the parameter sorts of a parametric datatype sort
"""
param_sorts = []
for s in self.csort.getDatatypeParamSorts():