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 | statements |
A list of statements. More... | |
MaybeLoc | begin_l |
MaybeLoc | end_l |
Loc | expression_l |
Represents an explicit begin; end
block.
The reason why it's different is that
is a post-while loop (same with post-until loop)
MaybeLoc lib_ruby_parser::KwBegin::begin_l |
Location of the begin
keyword
MaybeLoc lib_ruby_parser::KwBegin::end_l |
Location of the end
keyword
Loc lib_ruby_parser::KwBegin::expression_l |
Location of the full expression
NodeList lib_ruby_parser::KwBegin::statements |
A list of statements.