LibCST/libcst
Jennifer Taylor e5b28ab45b Teach LibCST to be multi-version aware.
This adds the ability to subdivide the grammar into different python versions,
as well as the ability to change the tokenizer per python version. I use this
to add support for Python 3.6 since this is a supported version we run on. This
can be used for others to add support for older or newer Python versions, regardless
of tokenizer/grammar changes.
2019-09-16 15:57:59 -07:00
..
_nodes Teach LibCST to be multi-version aware. 2019-09-16 15:57:59 -07:00
_parser Teach LibCST to be multi-version aware. 2019-09-16 15:57:59 -07:00
codegen Codegen attribute visitors. 2019-08-28 13:28:29 -07:00
metadata Fix some typos and add watchman config for pyre incremental check 2019-09-16 13:48:34 -07:00
testing Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
tests Update hypothesis tests to reflect new reality. 2019-08-29 11:33:57 -07:00
__init__.py Add a BaseStatement type. 2019-08-28 13:28:29 -07:00
_add_slots.py Export CodePosition/CodeRange; fix pickle with add_slots 2019-07-22 20:05:07 -07:00
_batched_visitor.py Add codegen for visit_* and leave_* methods on CSTTransform and CSTVisitor. 2019-08-28 13:28:29 -07:00
_exceptions.py Fork parso's pgen2 fork into LibCST 2019-09-12 14:09:00 -07:00
_helpers.py Export things from libcst's base__init__.py 2019-07-26 12:48:22 -07:00
_maybe_sentinel.py Add docs for MaybeSentinel and RemovalSentinel 2019-08-08 11:04:02 -07:00
_removal_sentinel.py Add more documentation around attribute visitors. 2019-08-29 14:16:51 -07:00
_tabs.py Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
_type_enforce.py Fix flake8 errors 2019-07-22 20:05:07 -07:00
_typed_visitor.py Codegen attribute visitors. 2019-08-28 13:28:29 -07:00
_typed_visitor_base.py Add codegen for visit_* and leave_* methods on CSTTransform and CSTVisitor. 2019-08-28 13:28:29 -07:00
_types.py [typing] refactor TypeVar CSTNodeT for consistency and reusability (#54) 2019-08-29 21:30:34 -07:00
_visitors.py [typing] refactor TypeVar CSTNodeT for consistency and reusability (#54) 2019-08-29 21:30:34 -07:00
py.typed support mypy using py.typed 2019-09-16 13:49:08 -07:00
tool.py Added docstring to libcst.tool.dump and reordered args to hint at their precedence 2019-08-05 16:44:19 -07:00