Module tree

Source

Re-exports§

pub use arguments::*;
pub use attribute::*;
pub use assign::*;
pub use aug_assign::*;
pub use await_kw::*;
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 list_comp::*;
pub use parameters::*;
pub use name::*;
pub use named_expression::*;
pub use unary_op::*;
pub use module::*;
pub use statement::*;
pub use lambda::*;
pub use if_exp::*;
pub use dict::*;
pub use set::*;
pub use starred::*;
pub use tuple::*;
pub use subscript::*;
pub use if_stmt::*;
pub use for_stmt::*;
pub use while_stmt::*;
pub use try_stmt::*;
pub use async_with::*;
pub use async_for::*;
pub use yield_expr::*;
pub use raise_stmt::*;
pub use f_string::*;
pub use with_stmt::*;

Modules§

arguments
The module defines Python-syntax arguments and maps them into Rust-syntax versions.
assign
async_for
async_with
attribute
aug_assign
await_kw
bin_ops
bool_ops
call
class_def
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:
compare
constant
dict
expression
f_string
for_stmt
function_def
if_exp
if_stmt
import
keyword
lambda
list
list_comp
module
name
named_expression
parameters
raise_stmt
set
starred
statement
subscript
try_stmt
tuple
unary_op
while_stmt
with_stmt
yield_expr