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

Represents lhs ||= rhs assignment. More...

#include <nodes.hpp>

Public Attributes

Noderecv
 Left hand statement. More...
 
Nodevalue
 Right hand statement. More...
 
Loc operator_l
 
Loc expression_l
 

Detailed Description

Represents lhs ||= rhs assignment.

Member Data Documentation

◆ expression_l

Loc lib_ruby_parser::OrAsgn::expression_l

Location of the full expression

foo ||= bar
^^^^^^^^^^^

◆ operator_l

Loc lib_ruby_parser::OrAsgn::operator_l

Location of the ||= operator

foo ||= bar
^^^

◆ recv

Node* lib_ruby_parser::OrAsgn::recv

Left hand statement.

◆ value

Node* lib_ruby_parser::OrAsgn::value

Right hand statement.


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