:orphan:
.. _s_11PytoRuntime14ArgumentParserV:
``ArgumentParser``
==================
Contains the arguments passed to a :swift:symbol:`PytoRuntime.Method` and an interface to parse them into Swift values.
.. raw:: html
.. rubric:: Declaration
.. raw:: html
.. rubric:: Discussion
.. note:: When an :swift:symbol:`PytoRuntime.ArgumentParser` belongs to an instance or class method, it does not contain the receiver as part of its arguments. This is passed separately as the first parameter of :swift:symbol:`PytoRuntime.MethodBody`.
.. rubric:: Properties
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime14ArgumentParserV4argsAA6ObjectCvp
.. raw:: html
The positional arguments.
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime14ArgumentParserV6kwargsAA6ObjectCvp
.. raw:: html
The keyword arguments.
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime14ArgumentParserV6moduleAA6ObjectCvp
.. raw:: html
The module of the called method.
.. rubric:: Functions
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime14ArgumentParserV3argyxSSKAA8ParsableRzlF
.. raw:: html
Parses an argument by name to a Swift value.
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime14ArgumentParserV5parsexxQp_tyKRvzAA8ParsableRzlF
.. raw:: html
Parses multiple arguments by name to a Swift value.