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> Freeze for ArgumentsNode<'pr>
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