|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents until loop.
More...
#include <nodes.hpp>
Public Attributes | |
| Node * | cond |
| Condition of the loop. More... | |
| Node * | body |
| Loc | keyword_l |
| MaybeLoc | begin_l |
| MaybeLoc | end_l |
| Loc | expression_l |
Represents until loop.
| MaybeLoc lib_ruby_parser::Until::begin_l |
Location of the do keyword
do is optional, and so begin_l can be None
| Node* lib_ruby_parser::Until::body |
Body of the loop.
None if body is empty
| Node* lib_ruby_parser::Until::cond |
Condition of the loop.
| MaybeLoc lib_ruby_parser::Until::end_l |
Location of the end keyword
None if loop is a modifier (i.e. foo until bar)
| Loc lib_ruby_parser::Until::expression_l |
Location of the full expression
| Loc lib_ruby_parser::Until::keyword_l |
Location of the until keyword