Struct ruby_prism::ArgumentsNode
source · pub struct ArgumentsNode<'pr> { /* private fields */ }
Expand description
Represents a set of arguments to a method or a keyword.
return foo, bar, baz
^^^^^^^^^^^^^
Implementations§
source§impl<'pr> ArgumentsNode<'pr>
impl<'pr> ArgumentsNode<'pr>
sourcepub fn flags(&self) -> pm_node_flags_t
pub fn flags(&self) -> pm_node_flags_t
Returns the flags of this node.
sourcepub fn is_contains_forwarding(&self) -> bool
pub fn is_contains_forwarding(&self) -> bool
if the arguments contain forwarding
sourcepub fn is_contains_keywords(&self) -> bool
pub fn is_contains_keywords(&self) -> bool
if the arguments contain keywords
sourcepub fn is_contains_keyword_splat(&self) -> bool
pub fn is_contains_keyword_splat(&self) -> bool
if the arguments contain a keyword splat
sourcepub fn is_contains_splat(&self) -> bool
pub fn is_contains_splat(&self) -> bool
if the arguments contain a splat
sourcepub fn is_contains_multiple_splats(&self) -> bool
pub fn is_contains_multiple_splats(&self) -> bool
if the arguments contain multiple splats
Trait Implementations§
Auto Trait Implementations§
impl<'pr> RefUnwindSafe for ArgumentsNode<'pr>
impl<'pr> !Send for ArgumentsNode<'pr>
impl<'pr> !Sync for ArgumentsNode<'pr>
impl<'pr> Unpin for ArgumentsNode<'pr>
impl<'pr> !UnwindSafe for ArgumentsNode<'pr>
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