lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents regex literal (e.g. /foo/
)
More...
#include <nodes.hpp>
Public Attributes | |
NodeList | parts |
A list of static and dynamic regex parts. More... | |
Node * | options |
Loc | begin_l |
Loc | end_l |
Loc | expression_l |
Represents regex literal (e.g. /foo/
)
Loc lib_ruby_parser::Regexp::begin_l |
Location of the regex begin
Loc lib_ruby_parser::Regexp::end_l |
Location of the regex end
Loc lib_ruby_parser::Regexp::expression_l |
Location of the full expression
Node* lib_ruby_parser::Regexp::options |
Regex options.
None
if regex has no explicit flags
NodeList lib_ruby_parser::Regexp::parts |
A list of static and dynamic regex parts.