Add all node classes to ast module (#40)

This commit is contained in:
Jeong, YunWon 2023-05-16 16:55:26 +09:00 committed by GitHub
parent 0c7d16b61a
commit 53de75efc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 1168 additions and 199 deletions

View file

@ -3,5 +3,6 @@ set -e
cd "$(dirname "$(dirname "$0")")"
# rm ast/src/gen/*.rs
python ast/asdl_rs.py --ast-dir ast/src/gen/ --module-file ../RustPython/vm/src/stdlib/ast/gen.rs ast/Python.asdl
rustfmt ast/src/gen/*.rs ../RustPython/vm/src/stdlib/ast/gen.rs