Struct lib_ruby_parser::nodes::Erange  [−][src]
#[repr(C)]pub struct Erange {
    pub left: Option<Box<Node>>,
    pub right: Option<Box<Node>>,
    pub operator_l: Loc,
    pub expression_l: Loc,
}Expand description
Represents range literal with excluded end (i.e. 1...3)
Fields
left: Option<Box<Node>>Begin of the range, None if range has no begin (i.e ...42)
right: Option<Box<Node>>End of the range, None if range has no end (i.e 42...)
operator_l: LocLocation of the ... operator
1...3
 ~~~expression_l: LocLocation of the full expression
1...3
~~~~~Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Erange
impl UnwindSafe for Erange
Blanket Implementations
Mutably borrows from an owned value. Read more