Type Alias rustpython_ast::located::StmtIf

source ·
pub type StmtIf = StmtIf<SourceRange>;

Aliased Type§

struct StmtIf {
    pub range: SourceRange,
    pub test: Box<Expr<SourceRange>>,
    pub body: Vec<Stmt<SourceRange>>,
    pub orelse: Vec<Stmt<SourceRange>>,
}

Fields§

§range: SourceRange§test: Box<Expr<SourceRange>>§body: Vec<Stmt<SourceRange>>§orelse: Vec<Stmt<SourceRange>>

Trait Implementations§