pub struct ParametersNode<'pr> { /* private fields */ }Expand description
Represents the list of parameters on a method, block, or lambda definition.
def a(b, c, d)
^^^^^^^
endImplementations§
Source§impl<'pr> ParametersNode<'pr>
impl<'pr> ParametersNode<'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 keyword_rest(&self) -> Option<Node<'pr>>
pub fn keyword_rest(&self) -> Option<Node<'pr>>
Returns the keyword_rest param
Sourcepub fn block(&self) -> Option<BlockParameterNode<'pr>>
pub fn block(&self) -> Option<BlockParameterNode<'pr>>
Returns the block param