LibCST/libcst
Ray Zeng d3544824fc Wrap _codegen methods in a helper function to track where nodes start and end.
Converts `_codegen` methods into `_codegen_impl` to wrap implementations
to calls to update the position of each node in the `CodegenState`. The
stored position is the syntactic position of a node (that includes any
whitespace attached to that particular node).

Also updates implementation of tool and `CSTNode.__repr__` to not print
fields of `CSTNode` objects prefixed with "_".
2019-07-22 19:53:49 -07:00
..
nodes Wrap _codegen methods in a helper function to track where nodes start and end. 2019-07-22 19:53:49 -07:00
parser Make ParserSyntaxError picklable 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 config files to make tools easier to use 2019-07-22 19:53:49 -07:00
__init__.py Export maybe and removal sentinels from __init__ 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 Initial export of LibCST to github. 2019-05-31 14:16:53 -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
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 Wrap _codegen methods in a helper function to track where nodes start and end. 2019-07-22 19:53:49 -07:00