Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (13 sloc) 475 Bytes

Python API

.. module:: astsearch

.. autoclass:: ASTPatternFinder

   .. automethod:: scan_ast
   .. automethod:: scan_file
   .. automethod:: scan_directory

.. autofunction:: prepare_pattern

.. seealso::

   `astcheck <>`_
     The AST pattern matching used by ASTsearch

   `Green Tree Snakes <>`_
     An overview of the available AST nodes and how to work with them