LibCST/libcst/parser
Benjamin Woodruff edd8496f19 Add parser logic for cst.Tuple
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.
2019-07-22 19:53:49 -07:00
..
_conversions Add parser logic for cst.Tuple 2019-07-22 19:53:49 -07:00
_types Add config files to make tools easier to use 2019-07-22 19:53:49 -07:00
tests Add config files to make tools easier to use 2019-07-22 19:53:49 -07:00
__init__.py Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
_base_parser.py Make ParserSyntaxError picklable 2019-07-22 19:53:49 -07:00
_custom_itertools.py Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
_detect_config.py Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
_entrypoints.py Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
_grammar.py Add parser logic for cst.Tuple 2019-07-22 19:53:49 -07:00
_production_decorator.py Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
_python_parser.py Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
_whitespace_parser.py Fix comment ownership around IndentedBlock 2019-06-05 14:31:04 -07:00
_wrapped_tokenize.py Fix comment ownership around IndentedBlock 2019-06-05 14:31:04 -07:00