mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
This implements the required nodes, but not the parsing logic (that'll be a later diff). To support `Dict`, this diff also introduces `BaseDictElement`, `DictElement`, `StarredDictElement`, and `BaseDict`. It also refactors some of the logic in `BaseSet` into `_BaseSetOrDict` so that it can be shared between `BaseSet` and `BaseDict`. `DictComp` will come later. |
||
|---|---|---|
| .. | ||
| metadata | ||
| nodes | ||
| parser | ||
| testing | ||
| tests | ||
| __init__.py | ||
| _add_slots.py | ||
| _batched_visitor.py | ||
| _exceptions.py | ||
| _helpers.py | ||
| _maybe_sentinel.py | ||
| _removal_sentinel.py | ||
| _tabs.py | ||
| _type_enforce.py | ||
| _typed_visitor_base.py | ||
| _visitors.py | ||
| tool.py | ||