Skip to content

Commit e04c09e

Browse files
committed
Merge branch 'feature/ast-transformers'
2 parents ee77893 + 50c8d80 commit e04c09e

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![Build Status](https://github.com/Strumenta/pylasu/actions/workflows/pythonapp.yml/badge.svg)](https://github.com/Strumenta/pylasu/actions/workflows/pythonapp.yml)
44
[![PyPI](https://img.shields.io/pypi/v/pylasu.svg)](https://pypi.org/project/pylasu)
5+
[![Documentation](https://readthedocs.org/projects/pylasu/badge/?version=latest&style=flat)](https://pylasu.readthedocs.io)
56

67
Pylasu is an AST Library in the [StarLasu](https://github.com/Strumenta/StarLasu) family, targeting the Python language. [Documentation](https://pylasu.readthedocs.io) is on Read the Docs.
78

pylasu/model/traversing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def walk_ancestors(self: Node):
4444
@extension_method(Node)
4545
def walk_descendants(self: Node, walker=walk, restrict_to=Node):
4646
"""Walks the whole AST starting from the child nodes of this node.
47+
4748
:param self: the node from which to start the walk, which is NOT included in the walk.
4849
:param walker: a function that generates a sequence of nodes. By default this is the depth-first "walk" method.
4950
For post-order traversal, use "walk_leaves_first".

0 commit comments

Comments
 (0)