lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents an executable string (i.e. `sh #{script_name}`
)
More...
#include <nodes.hpp>
Public Attributes | |
NodeList | parts |
A list of string parts (static literals and interpolated expressions) More... | |
Loc | begin_l |
Loc | end_l |
Loc | expression_l |
Represents an executable string (i.e. `sh #{script_name}`
)
Loc lib_ruby_parser::Xstr::begin_l |
Location of the string begin
``text
#{foo}` ^
X{#{foo}} ^^^ ```
Loc lib_ruby_parser::Xstr::end_l |
Location of the string end
``text
#{foo}` ^
X{#{foo}} ^ ```
Loc lib_ruby_parser::Xstr::expression_l |
Location of the full expression
``text
#{foo}` ^^^^^^^^
X{#{foo}} ^^^^^^^^^^ ```
NodeList lib_ruby_parser::Xstr::parts |
A list of string parts (static literals and interpolated expressions)