LibCST/libcst
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
..
metadata Refactor CodePosition 2019-07-22 19:53:49 -07:00
nodes Add parser logic for cst.Tuple 2019-07-22 19:53:49 -07:00
parser Add parser logic for cst.Tuple 2019-07-22 19:53:49 -07:00
testing Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
tests Add runtime type validation support 2019-07-22 19:53:49 -07:00
__init__.py pyre-strict libcst/__init__.py and libcst/tool.py 2019-07-22 19:53:49 -07:00
_add_slots.py Fix issue with @add_slots and py3.7 2019-06-03 15:43:28 -07:00
_base_visitor.py Port line and column numbers to metadata framework 2019-07-22 19:53:49 -07:00
_maybe_sentinel.py Better serialization for MaybeSentinel 2019-06-03 15:43:55 -07:00
_removal_sentinel.py Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
_tabs.py Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
_type_enforce.py Add runtime type validation support 2019-07-22 19:53:49 -07:00
exceptions.py Make ParserSyntaxError picklable 2019-07-22 19:53:49 -07:00
helpers.py Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
tool.py pyre-strict libcst/__init__.py and libcst/tool.py 2019-07-22 19:53:49 -07:00