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

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
 

Detailed Description

Represents an executable string (i.e. `sh #{script_name}`)

Member Data Documentation

◆ begin_l

Loc lib_ruby_parser::Xstr::begin_l

Location of the string begin

``text #{foo}` ^

X{#{foo}} ^^^ ```

◆ end_l

Loc lib_ruby_parser::Xstr::end_l

Location of the string end

``text #{foo}` ^

X{#{foo}} ^ ```

◆ expression_l

Loc lib_ruby_parser::Xstr::expression_l

Location of the full expression

``text #{foo}` ^^^^^^^^

X{#{foo}} ^^^^^^^^^^ ```

◆ parts

NodeList lib_ruby_parser::Xstr::parts

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


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