Type Alias rustpython_ast::located::Stmt

source ·
pub type Stmt = Stmt<SourceRange>;

Aliased Type§

enum Stmt {
Show 28 variants FunctionDef(StmtFunctionDef<SourceRange>), AsyncFunctionDef(StmtAsyncFunctionDef<SourceRange>), ClassDef(StmtClassDef<SourceRange>), Return(StmtReturn<SourceRange>), Delete(StmtDelete<SourceRange>), Assign(StmtAssign<SourceRange>), TypeAlias(StmtTypeAlias<SourceRange>), AugAssign(StmtAugAssign<SourceRange>), AnnAssign(StmtAnnAssign<SourceRange>), For(StmtFor<SourceRange>), AsyncFor(StmtAsyncFor<SourceRange>), While(StmtWhile<SourceRange>), If(StmtIf<SourceRange>), With(StmtWith<SourceRange>), AsyncWith(StmtAsyncWith<SourceRange>), Match(StmtMatch<SourceRange>), Raise(StmtRaise<SourceRange>), Try(StmtTry<SourceRange>), TryStar(StmtTryStar<SourceRange>), Assert(StmtAssert<SourceRange>), Import(StmtImport<SourceRange>), ImportFrom(StmtImportFrom<SourceRange>), Global(StmtGlobal<SourceRange>), Nonlocal(StmtNonlocal<SourceRange>), Expr(StmtExpr<SourceRange>), Pass(StmtPass<SourceRange>), Break(StmtBreak<SourceRange>), Continue(StmtContinue<SourceRange>),
}

Variants§

Trait Implementations§