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

Represents inclusive range (i.e. 2..4) More...

#include <nodes.hpp>

Public Attributes

Node * left
 Begin of the range, None if range has no begin (i.e. ..4) More...
 
Node * right
 End of the range, None if range has no end (i.e. 2..) More...
 
Loc operator_l
 
Loc expression_l
 

Detailed Description

Represents inclusive range (i.e. 2..4)

Member Data Documentation

◆ expression_l

Loc lib_ruby_parser::Irange::expression_l

Location of the full expression

2..4
^^^^

◆ left

Node* lib_ruby_parser::Irange::left

Begin of the range, None if range has no begin (i.e. ..4)

◆ operator_l

Loc lib_ruby_parser::Irange::operator_l

Location of the .. operator

2..4
^^

◆ right

Node* lib_ruby_parser::Irange::right

End of the range, None if range has no end (i.e. 2..)


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