Struct lib_ruby_parser::nodes::Postexe
source · #[repr(C)]pub struct Postexe {
pub body: Option<Box<Node>>,
pub keyword_l: Loc,
pub begin_l: Loc,
pub end_l: Loc,
pub expression_l: Loc,
}
Expand description
Represents END { .. }
statement
Fields§
§body: Option<Box<Node>>
Body of the block
keyword_l: Loc
Location of the END
keyword
END { 42 }
~~~
begin_l: Loc
Location of the open parenthesis
END { 42 }
~
end_l: Loc
Location of the closing parenthesis
END { 42 }
~
expression_l: Loc
Location of the full expression
END { 42 }
~~~~~~~~~~
Trait Implementations§
source§impl PartialEq for Postexe
impl PartialEq for Postexe
impl StructuralPartialEq for Postexe
Auto Trait Implementations§
impl Freeze for Postexe
impl RefUnwindSafe for Postexe
impl Send for Postexe
impl Sync for Postexe
impl Unpin for Postexe
impl UnwindSafe for Postexe
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more