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