mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
There's a lot of different places tuples can get used, and `Element`/`StarredElement` require some tricky handling of commas, so this took a while. Hopefully, this work should make `List` easy to implement. `dictsetmaker` and comprehensions are still going to be a pain though... Along the way, I found out that `Element`/`StarredElement`'s `whitespace_after` wasn't needed, because the tuple's parenthesis (if they exist) or parent node would be a better owner anyways, so that's removed in this commit. |
||
|---|---|---|
| .. | ||
| 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 | ||