mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
Refactors codegen to write position information to the `__metadata__` fields in nodes keyed by `BasicPositionProvider` and `SyntacticPositionProvider` as defined in position_metadata.py. This commit also updates `deep_equals` to ignore dataclass fields that are marked `compare=False` to avoid comparing metadata when doing equality checks. |
||
|---|---|---|
| .. | ||
| metadata | ||
| nodes | ||
| parser | ||
| testing | ||
| tests | ||
| __init__.py | ||
| _add_slots.py | ||
| _base_visitor.py | ||
| _maybe_sentinel.py | ||
| _removal_sentinel.py | ||
| _tabs.py | ||
| _type_enforce.py | ||
| exceptions.py | ||
| helpers.py | ||
| tool.py | ||