Type Alias rustpython_ast::located::MatchCase
source · pub type MatchCase = MatchCase<SourceRange>;
Aliased Type§
struct MatchCase {
pub range: EmptyRange<SourceRange>,
pub pattern: Pattern<SourceRange>,
pub guard: Option<Box<Expr<SourceRange>>>,
pub body: Vec<Stmt<SourceRange>>,
}
Fields§
§range: EmptyRange<SourceRange>
§pattern: Pattern<SourceRange>
§guard: Option<Box<Expr<SourceRange>>>
§body: Vec<Stmt<SourceRange>>