pub struct KeywordHashNode<'pr> { /* private fields */ }Expand description
Represents a hash literal without opening and closing braces.
foo(a: b)
^^^^Implementations§
Source§impl<'pr> KeywordHashNode<'pr>
impl<'pr> KeywordHashNode<'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_symbol_keys(&self) -> bool
pub fn is_symbol_keys(&self) -> bool
a keyword hash which only has AssocNode elements all with symbol keys, which means the elements can be treated as keyword arguments