Type Alias rustpython_ast::located::StmtFor

source ·
pub type StmtFor = StmtFor<SourceRange>;

Aliased Type§

struct StmtFor {
    pub range: SourceRange,
    pub target: Box<Expr<SourceRange>>,
    pub iter: Box<Expr<SourceRange>>,
    pub body: Vec<Stmt<SourceRange>>,
    pub orelse: Vec<Stmt<SourceRange>>,
    pub type_comment: Option<String>,
}

Fields§

§range: SourceRange§target: Box<Expr<SourceRange>>§iter: Box<Expr<SourceRange>>§body: Vec<Stmt<SourceRange>>§orelse: Vec<Stmt<SourceRange>>§type_comment: Option<String>

Trait Implementations§