Struct ruby_prism::InterpolatedXStringNode
source · pub struct InterpolatedXStringNode<'pr> { /* private fields */ }
Expand description
Represents an xstring literal that contains interpolation.
`foo #{bar} baz`
^^^^^^^^^^^^^^^^
Implementations§
source§impl<'pr> InterpolatedXStringNode<'pr>
impl<'pr> InterpolatedXStringNode<'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 opening_loc(&self) -> Location<'pr>
pub fn opening_loc(&self) -> Location<'pr>
Returns the opening_loc
param
sourcepub fn closing_loc(&self) -> Location<'pr>
pub fn closing_loc(&self) -> Location<'pr>
Returns the closing_loc
param
Trait Implementations§
Auto Trait Implementations§
impl<'pr> RefUnwindSafe for InterpolatedXStringNode<'pr>
impl<'pr> !Send for InterpolatedXStringNode<'pr>
impl<'pr> !Sync for InterpolatedXStringNode<'pr>
impl<'pr> Unpin for InterpolatedXStringNode<'pr>
impl<'pr> !UnwindSafe for InterpolatedXStringNode<'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