mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
add more test cases to ParentNodeProviderTest
This commit is contained in:
parent
db6092dffd
commit
4cde536678
2 changed files with 21 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ Parent Node Metadata
|
|||
--------------------
|
||||
A :class:`~libcst.CSTNode` only has attributes link to its child nodes and thus only top-down
|
||||
tree traversal is doable. Sometimes user may want to access the parent :class:`~libcst.CSTNode`
|
||||
for more information or traverse in buttom-up manner.
|
||||
for more information or traverse in bottom-up manner.
|
||||
We provide :class:`~libcst.metadata.ParentNodeProvider` for those use cases.
|
||||
|
||||
.. autoclass:: libcst.metadata.ParentNodeProvider
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue