mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
I added this originally because it's part of Python's grammar, but since we merged parenthesis and friends into expressions instead of forming separate nodes, BaseAtom doesn't have much use. This fixes also a few bugs: - A decorator requires a `dotted_name`, so it can only take a `Name` or an `Attribute` node, not any atom. - A `Call` node's function can be any expression, not just a fixed list of `BaseExpression` subclasses. |
||
|---|---|---|
| .. | ||
| _static | ||
| _templates | ||
| conf.py | ||
| index.rst | ||
| nodes.rst | ||
| parser.rst | ||
| visitors.rst | ||
| why_libcst.rst | ||