:class:`OLink` ============== .. py:class:: src.pyconverter.xml2py.ast_tree.OLink(element) Bases: :py:obj:`Element` Provides the external link element. .. !! processed by numpydoc !! .. py:currentmodule:: OLink Overview -------- .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~to_rst` - Return a string to enable converting the element to an RST format. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~targetptr` - Value for the ``targetptr`` contained in the OLink element. * - :py:attr:`~targetdoc` - Value for the ``targetdoc`` parameter contained in the OLink element. Import detail ------------- .. code-block:: python from src.pyconverter.xml2py.ast_tree import OLink Property detail --------------- .. py:property:: targetptr Value for the ``targetptr`` contained in the OLink element. .. !! processed by numpydoc !! .. py:property:: targetdoc Value for the ``targetdoc`` parameter contained in the OLink element. .. !! processed by numpydoc !! Method detail ------------- .. py:method:: to_rst(indent='', max_length=100, links=None, base_url=None) Return a string to enable converting the element to an RST format. .. !! processed by numpydoc !!