*Black* classes
===============

*Contents are subject to change.*

.. currentmodule:: black

:class:`BracketTracker`
-----------------------

.. autoclass:: black.brackets.BracketTracker
    :members:

:class:`Line`
-------------

.. autoclass:: black.lines.Line
    :members:
    :special-members: __str__, __bool__

:class:`LinesBlock`
-------------------------

.. autoclass:: black.lines.LinesBlock
    :members:

:class:`EmptyLineTracker`
-------------------------

.. autoclass:: black.lines.EmptyLineTracker
    :members:

:class:`LineGenerator`
----------------------

.. autoclass:: black.linegen.LineGenerator
    :show-inheritance:
    :members:

:class:`ProtoComment`
---------------------

.. autoclass:: black.comments.ProtoComment
    :members:

:class:`Report`
---------------

.. autoclass:: black.report.Report
    :members:
    :special-members: __str__

:class:`Visitor`
----------------

.. autoclass:: black.nodes.Visitor
    :show-inheritance:
    :members:

Enums
=====

:class:`Changed`
----------------

.. autoclass:: black.Changed
    :show-inheritance:
    :members:

:class:`Mode`
-----------------

.. autoclass:: black.Mode
    :show-inheritance:
    :members:

:class:`WriteBack`
------------------

.. autoclass:: black.WriteBack
    :show-inheritance:
    :members:
