Document issues about our internal tree.

This commit is contained in:
Dave Halter
2017-09-04 20:54:48 +02:00
parent b83c641057
commit 032c7563c4
4 changed files with 23 additions and 5 deletions

View File

@@ -13,7 +13,8 @@ The parser tree is returned by calling :py:meth:`parso.Grammar.parse`.
Parser Tree Base Classes
------------------------
All nodes and leaves have these methods/properties:
Generally there are two types of classes you will deal with:
:py:class:`parso.tree.Leaf` and :py:class:`parso.tree.BaseNode`.
.. autoclass:: parso.tree.BaseNode
:show-inheritance:
@@ -23,6 +24,8 @@ All nodes and leaves have these methods/properties:
:show-inheritance:
:members:
All nodes and leaves have these methods/properties:
.. autoclass:: parso.tree.NodeOrLeaf
:members:
:undoc-members: