Struct lib_ruby_parser::nodes::Preexe [−][src]
#[repr(C)]pub struct Preexe {
pub body: Option<Box<Node>>,
pub keyword_l: Loc,
pub begin_l: Loc,
pub end_l: Loc,
pub expression_l: Loc,
}Expand description
Represents BEGIN { ... } statement
Fields
body: Option<Box<Node>>Body of the block
keyword_l: LocLocation of the BEGIN keyword
BEGIN { 42 }
~~~~~begin_l: LocLocation of the open parenthesis
BEGIN { 42 }
~end_l: LocLocation of the closing parenthesis
BEGIN { 42 }
~expression_l: LocLocation of the full expression
BEGIN { 42 }
~~~~~~~~~~~~Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Preexe
impl UnwindSafe for Preexe
Blanket Implementations
Mutably borrows from an owned value. Read more