specialize ConversionFlag (#42)

* specialize ConversionFlag

* Change value of ConversionFlag to i8 and None to -1

* is_* methods to ConversionFlag
This commit is contained in:
Jeong, YunWon 2023-05-16 22:52:50 +09:00 committed by GitHub
parent 611dcc2e9b
commit 9d47d3d212
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 60 additions and 104 deletions

View file

@ -28,6 +28,7 @@ assert BUILTIN_TYPE_NAMES.keys() == asdl.builtin_types
BUILTIN_INT_NAMES = {
"simple": "bool",
"is_async": "bool",
"conversion": "ConversionFlag",
}
RUST_KEYWORDS = {