Add AnyNode and AnyNodeRef unions (#4578)

This commit is contained in:
Micha Reiser
2023-05-23 08:53:22 +02:00
committed by GitHub
parent 1ddc577204
commit 154439728a
6 changed files with 3228 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ once_cell = { workspace = true }
rustc-hash = { workspace = true }
rustpython-literal = { workspace = true }
rustpython-parser = { workspace = true }
rustpython-ast = { workspace = true }
serde = { workspace = true, optional = true }
smallvec = { workspace = true }

View File

@@ -6,6 +6,8 @@ pub mod hashable;
pub mod helpers;
pub mod imports;
pub mod newlines;
pub mod node;
pub mod prelude;
pub mod relocate;
pub mod source_code;
pub mod statement_visitor;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,2 @@
pub use crate::node::AstNode;
pub use rustpython_ast::*;