[−][src]Struct lib_ruby_parser::nodes::Yield
Represents an yield
keyword
Fields
args: Vec<Node>
A list of arguments given to yield
keyword_l: Range
Location of the yield
keyword
yield 1, 2
~~~~~
begin_l: Option<Range>
Location of the open parenthesis
yield(1, 2)
~
None
if there are no parentheses
end_l: Option<Range>
Location of the closing parenthesis
yield(1, 2)
~
None
if there are no parentheses
expression_l: Range
Location of the full expression
yield(1, 2)
~~~~~~~~~~~
Trait Implementations
impl Clone for Yield
[src][+]
impl Debug for Yield
[src][+]
impl PartialEq<Yield> for Yield
[src][+]
impl StructuralPartialEq for Yield
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Yield
impl !Send for Yield
impl !Sync for Yield
impl Unpin for Yield
impl UnwindSafe for Yield
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,
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,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,