[−][src]Struct lib_ruby_parser::nodes::KwBegin
Represents an explicit begin; end
block.
The reason why it's different is that only
begin; foo; end while cond
is a post-while loop (same with post-until loop)
Fields
statements: Vec<Node>
A list of statements
begin_l: Option<Range>
Location of the begin
keyword
begin; foo; end
~~~~~
end_l: Option<Range>
Location of the begin
keyword
begin; foo; end
~~~
expression_l: Range
Location of the full expression
begin; foo; bar
~~~~~~~~~~~~~~~
Trait Implementations
impl Clone for KwBegin
[src]
impl Debug for KwBegin
[src]
impl PartialEq<KwBegin> for KwBegin
[src]
impl StructuralPartialEq for KwBegin
[src]
Auto Trait Implementations
impl !RefUnwindSafe for KwBegin
impl !Send for KwBegin
impl !Sync for KwBegin
impl Unpin for KwBegin
impl UnwindSafe for KwBegin
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,