lib-ruby-parser (C++ bindings)  4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
lib_ruby_parser::Dsym Class Reference

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

#include <nodes.hpp>

Public Attributes

NodeList parts
 A list of symbol parts (static literals and interpolated expressions) More...
 
MaybeLoc begin_l
 
MaybeLoc end_l
 
Loc expression_l
 

Detailed Description

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

Member Data Documentation

◆ begin_l

MaybeLoc lib_ruby_parser::Dsym::begin_l

Location of the symbol begin

:"#{foo}"
^^

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

%I[#{bar}]

◆ end_l

MaybeLoc lib_ruby_parser::Dsym::end_l

Location of the symbol begin

:"#{foo}"
^

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

%I[#{bar}]

◆ expression_l

Loc lib_ruby_parser::Dsym::expression_l

Location of the full expression

:"#{foo}"
^^^^^^^^^

◆ parts

NodeList lib_ruby_parser::Dsym::parts

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


The documentation for this class was generated from the following file: