Module python_ast::ast::tree
source · Re-exports
pub use arguments::*;pub use assign::*;pub use bin_ops::*;pub use bool_ops::*;pub use call::*;pub use class_def::*;pub use compare::*;pub use constant::*;pub use expression::*;pub use function_def::*;pub use import::*;pub use keyword::*;pub use list::*;pub use parameters::*;pub use name::*;pub use unary_op::*;pub use module::*;pub use statement::*;
Modules
- The module defines Python-syntax arguments and maps them into Rust-syntax versions.
- A lot of languages, Python included, have a concept of a class, which combines the definition of a data type with an interface. In dynamic languages like Python, the class itself is a memory object, that can be permutated at runtime, however, this is probably usually a bad idea. Classes can contain: