bpo-40141: Add line and column information to ast.keyword nodes (GH-19283)

This commit is contained in:
Pablo Galindo 2020-04-02 00:47:39 +01:00 committed by GitHub
parent 65a796e527
commit 168660b547
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 117 additions and 8 deletions

View file

@ -114,6 +114,7 @@ module Python
-- keyword arguments supplied to call (NULL identifier for **kwargs)
keyword = (identifier? arg, expr value)
attributes (int lineno, int col_offset, int? end_lineno, int? end_col_offset)
-- import name with optional 'as' alias.
alias = (identifier name, identifier? asname)