Those commands manipulate port objects and return information about
them. They all take a port object as their first argument, noted
$port in the following command descriptions. Such an object is
typically returned by other procedures, such as
$component ports.
Return the component object in which the port is defined.
Return the type object defining the
port itself. (not the same as datatype, see below).
Return the data type to be published in the port.
Return a string containing the documentation of the port defined
in the doc attributes of the .gen description.
Return a list of exceptions possibly
raised by the port.
Return a list describing the source location where that port is defined. The list contains four elements: the file name, the line number, the column number and the original component context of the definition. If an optional argument is given, only the corresponding element is returned.