pub struct ConstantPathNode<'pr> { /* private fields */ }Expand description
Represents accessing a constant through a path of :: operators.
Foo::Bar
^^^^^^^^Implementations§
Source§impl<'pr> ConstantPathNode<'pr>
impl<'pr> ConstantPathNode<'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 name(&self) -> Option<ConstantId<'pr>>
pub fn name(&self) -> Option<ConstantId<'pr>>
Returns the name param
Sourcepub fn delimiter_loc(&self) -> Location<'pr>
pub fn delimiter_loc(&self) -> Location<'pr>
Returns the delimiter_loc param