pub struct BlockParameterNode<'pr> { /* private fields */ }Expand description
Represents a block parameter of a method, block, or lambda definition.
def a(&b)
^^
endImplementations§
Source§impl<'pr> BlockParameterNode<'pr>
impl<'pr> BlockParameterNode<'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_repeated_parameter(&self) -> bool
pub fn is_repeated_parameter(&self) -> bool
a parameter name that has been repeated in the method signature
Sourcepub fn name(&self) -> Option<ConstantId<'pr>>
pub fn name(&self) -> Option<ConstantId<'pr>>
Returns the name param
Sourcepub fn operator_loc(&self) -> Location<'pr>
pub fn operator_loc(&self) -> Location<'pr>
Returns the operator_loc param