Struct lib_ruby_parser::nodes::EmptyElse [−][src]
#[repr(C)]pub struct EmptyElse {
pub expression_l: Loc,
}Expand description
Represents a special empty else that is a part of the pattern matching.
Usually empty else (e.g. part of the if statement) doesn’t mean anything,
however in pattern matching it prevents raising a NoPatternError.
Throwing away this else may affect your code.
Fields
expression_l: LocLocation of the else keyword
case foo; in 1; else; end
~~~~Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EmptyElse
impl UnwindSafe for EmptyElse
Blanket Implementations
Mutably borrows from an owned value. Read more