diff options
author | Batuhan Taskaya <batuhan@python.org> | 2021-06-22 16:29:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 16:29:42 (GMT) |
commit | 35ad425866d591c33d7f2be2b9da8bce2bff9523 (patch) | |
tree | 69135e82ed192c9523cb6424d9cd720cda725b77 /Parser/pegen.c | |
parent | d1ae57027fc39ff60dcfc1b63881400e5ca3ce56 (diff) | |
download | cpython-35ad425866d591c33d7f2be2b9da8bce2bff9523.zip cpython-35ad425866d591c33d7f2be2b9da8bce2bff9523.tar.gz cpython-35ad425866d591c33d7f2be2b9da8bce2bff9523.tar.bz2 |
bpo-40528: Implement a metadata system for ASDL Generator (GH-20193)
ASDL Generator was lack of proper annotation related to generated
module. This patch implements a MetadataVisitor that produces a
metadata object to pass to other visitors that are visiting that
same module. For the inital patch, it dynamically retrieves int
sequences (like cmpop), that was previously hardcoded. It offers
an interface that is easy to extend.
Diffstat (limited to 'Parser/pegen.c')
0 files changed, 0 insertions, 0 deletions