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

Represents range literal with excluded end (i.e. 1...3) More...

#include <nodes.hpp>

Public Attributes

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

Detailed Description

Represents range literal with excluded end (i.e. 1...3)

Member Data Documentation

◆ expression_l

Loc lib_ruby_parser::Erange::expression_l

Location of the full expression

1...3
^^^^^

◆ left

Node* lib_ruby_parser::Erange::left

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

◆ operator_l

Loc lib_ruby_parser::Erange::operator_l

Location of the ... operator

1...3
^^^

◆ right

Node* lib_ruby_parser::Erange::right

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


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