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. |
||
|---|---|---|
| .. | ||
| _conversions | ||
| _types | ||
| tests | ||
| __init__.py | ||
| _base_parser.py | ||
| _custom_itertools.py | ||
| _detect_config.py | ||
| _entrypoints.py | ||
| _grammar.py | ||
| _production_decorator.py | ||
| _python_parser.py | ||
| _whitespace_parser.py | ||
| _wrapped_tokenize.py | ||