function getSuperTypeArguments(node) {
  if ('superTypeArguments' in node) {
    return node.superTypeArguments;
  }
  return node.superTypeParameters;
}
Returns the super type arguments of a node or super type parameters if type arguments are not available.
@param {ASTNode} node The node to get the super type arguments from.
@returns {ASTNode} The super type arguments or parameters of the node.