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

#include <nodes.hpp>

Public Attributes

Nodecond
 Condition of the loop. More...
 
Nodebody
 Body of the loop. More...
 
Loc keyword_l
 
Loc expression_l
 

Detailed Description

Represents a post-while loop

begin
foo
end while bar

Member Data Documentation

◆ body

Node* lib_ruby_parser::WhilePost::body

Body of the loop.

◆ cond

Node* lib_ruby_parser::WhilePost::cond

Condition of the loop.

◆ expression_l

Loc lib_ruby_parser::WhilePost::expression_l

Location of the while keyword

begin; foo; end while bar
^^^^^^^^^^^^^^^^^^^^^^^^^

◆ keyword_l

Loc lib_ruby_parser::WhilePost::keyword_l

Location of the while keyword

begin; foo; end while bar
^^^^^

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