[][src]Struct lib_ruby_parser::nodes::Dsym

pub struct Dsym {
    pub parts: Vec<Node>,
    pub begin_l: Option<Range>,
    pub end_l: Option<Range>,
    pub expression_l: Range,
}

Represents a symbol with interpolation (i.e. :"#{foo}")

Fields

parts: Vec<Node>

A list of symbol parts (static literals and interpolated expressions)

begin_l: Option<Range>

Location of the symbol begin

:"#{foo}"
~~

None if Dsym is a part of the interpolated symbol array:

%I[#{bar}]
end_l: Option<Range>

Location of the symbol begin

:"#{foo}"
        ~

None if Dsym is a part of the interpolated symbol array:

%I[#{bar}]
expression_l: Range

Location of the full expression

:"#{foo}"
~~~~~~~~~

Trait Implementations

impl Clone for Dsym[src]

impl Debug for Dsym[src]

impl PartialEq<Dsym> for Dsym[src]

impl StructuralPartialEq for Dsym[src]

Auto Trait Implementations

impl RefUnwindSafe for Dsym

impl Send for Dsym

impl Sync for Dsym

impl Unpin for Dsym

impl UnwindSafe for Dsym

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.