Struct lib_ruby_parser::nodes::Dsym [−][src]
#[repr(C)]pub struct Dsym {
pub parts: Vec<Node>,
pub begin_l: Option<Loc>,
pub end_l: Option<Loc>,
pub expression_l: Loc,
}Expand description
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<Loc>Location of the symbol begin
:"#{foo}"
~~None if Dsym is a part of the interpolated symbol array:
%I[#{bar}]end_l: Option<Loc>Location of the symbol begin
:"#{foo}"
~None if Dsym is a part of the interpolated symbol array:
%I[#{bar}]expression_l: LocLocation of the full expression
:"#{foo}"
~~~~~~~~~Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Dsym
impl UnwindSafe for Dsym
Blanket Implementations
Mutably borrows from an owned value. Read more