Skip to main content

Module tree

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_comp::*;
pub use parameters::*;
pub use name::*;
pub use named_expression::*;
pub use unary_op::*;
pub use module::*;
pub use scope::*;
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
Struct-based class lowering.
compare
constant
dict
expression
f_string
for_stmt
function_def
if_exp
if_stmt
import
keyword
lambda
list
Python list expressions are represented as ExprType::List and generated by the "List" arm of the expression codegen (see expression.rs). The second, unused List<'a> AST type that used to live here — with its own, divergent codegen — was removed as dead code.
list_comp
module
name
named_expression
parameters
raise_stmt
scope
Scope analysis for variable hoisting.
set
starred
statement
subscript
try_stmt
tuple
unary_op
while_stmt
with_stmt
yield_expr