|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
#include <nodes.hpp>
Public Attributes | |
| NodeList | parts |
| A list of string parts (static literals and interpolated expressions) More... | |
| Loc | heredoc_body_l |
| Loc | heredoc_end_l |
| Loc | expression_l |
Represents a here-document literal (both with and without interpolation)
It's similar to Dstr in terms of abstract syntax tree, but has different source maps.
| Loc lib_ruby_parser::Heredoc::expression_l |
Location of the here-document identifier
Note: This is the only node (with XHeredoc) that has expression_l smaller that all other sub-locations merged. The reason for that is that it's possible to add more code after here-document ID:
| Loc lib_ruby_parser::Heredoc::heredoc_body_l |
Location of the here-document body
| Loc lib_ruby_parser::Heredoc::heredoc_end_l |
Location of the here-document end
| NodeList lib_ruby_parser::Heredoc::parts |
A list of string parts (static literals and interpolated expressions)