LibCST/libcst
zaicruvoir1rominet efc53af608
Add helper functions for common ways of filtering nodes (#1137)
* Make the nodes fields filtering process - from libcst.tool - public, so that other libraries may provide their own custom representation of LibCST graphs.

* Create functions to access & filter CST-node fields (with appropriate docstrings & tests), in libcst.helpers

* Add new CST-node fields functions to helpers documentation.
2024-05-13 10:20:47 +01:00
..
_nodes remove typing dependencies (#1126) 2024-04-03 19:50:14 +01:00
_parser Switch default parser implementation to native (#929) 2023-05-25 18:24:59 +01:00
codegen remove typing dependencies (#1126) 2024-04-03 19:50:14 +01:00
codemod Fix Literal parse error in RemoveImportsVisitor (#1130) 2024-05-03 22:36:20 +01:00
helpers Add helper functions for common ways of filtering nodes (#1137) 2024-05-13 10:20:47 +01:00
matchers remove typing dependencies (#1126) 2024-04-03 19:50:14 +01:00
metadata remove mypy_extensions import (#1128) 2024-04-03 21:10:44 +01:00
testing Bump black from 22.12.0 to 23.1.0 (#860) 2023-03-15 11:53:50 +00:00
tests remove typing dependencies (#1126) 2024-04-03 19:50:14 +01:00
__init__.py PEP 695 - Type Parameter Syntax (#1004) 2023-08-28 22:07:22 +01:00
_add_slots.py drop support for Python 3.7 (#997) 2023-08-26 12:42:12 +01:00
_batched_visitor.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_exceptions.py remove typing dependencies (#1126) 2024-04-03 19:50:14 +01:00
_flatten_sentinel.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_maybe_sentinel.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_metadata_dependent.py Implement lazy loading mechanism for QualifiedNameProvider (#720) 2022-07-09 08:34:29 +01:00
_position.py Fix all type errors (#579) 2022-01-05 18:13:01 +00:00
_removal_sentinel.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_tabs.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_type_enforce.py remove typing dependencies (#1126) 2024-04-03 19:50:14 +01:00
_typed_visitor.py PEP 695 - Type Parameter Syntax (#1004) 2023-08-28 22:07:22 +01:00
_typed_visitor_base.py Several trivial refactors (#770) 2022-09-14 14:33:45 +01:00
_types.py Pass root path to FullyQualifiedNameProvider (#867) 2023-02-22 14:36:10 -08:00
_visitors.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
py.typed support mypy using py.typed 2019-09-16 13:49:08 -07:00
tool.py Add helper functions for common ways of filtering nodes (#1137) 2024-05-13 10:20:47 +01:00