:class:`ProgramListing` ======================= .. py:class:: src.pyconverter.xml2py.ast_tree.ProgramListing(element, parse_children=True) Bases: :py:obj:`Element` Provides the program listing element. .. !! processed by numpydoc !! .. py:currentmodule:: ProgramListing 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:`~source` - Return the source value. Import detail ------------- .. code-block:: python from src.pyconverter.xml2py.ast_tree import ProgramListing Property detail --------------- .. py:property:: source Return the source value. .. !! processed by numpydoc !! Method detail ------------- .. py:method:: to_rst(indent='', max_length=100) Return a string to enable converting the element to an RST format. .. !! processed by numpydoc !!