From bc4c5fafb7f632f44b17e1271fd789fd19600c65 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Thu, 27 Apr 2017 21:50:31 +0200 Subject: [PATCH] Start creating documentation for the parser. --- docs/docs/parser.rst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 docs/docs/parser.rst diff --git a/docs/docs/parser.rst b/docs/docs/parser.rst new file mode 100644 index 00000000..53243800 --- /dev/null +++ b/docs/docs/parser.rst @@ -0,0 +1,27 @@ +.. _xxx: + +Parser Tree +=========== + +Usage +----- + +.. automodule:: jedi.parser.python + :members: + :undoc-members: + + +Parser Tree Base Class +---------------------- + +All nodes and leaves have these methods/properties: + +.. autoclass:: jedi.parser.tree.NodeOrLeaf + :members: + :undoc-members: + + +Utility +------- + +.. autofunction:: jedi.parser.tree.search_ancestor