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

Represents mass-assignment (i.e. foo, bar = 1, 2) More...

#include <nodes.hpp>

Public Attributes

Nodelhs
 Left hand statement of the assignment. More...
 
Noderhs
 Left hand statement of the assignment. More...
 
Loc operator_l
 
Loc expression_l
 

Detailed Description

Represents mass-assignment (i.e. foo, bar = 1, 2)

Member Data Documentation

◆ expression_l

Loc lib_ruby_parser::Masgn::expression_l

Location of the full expression

foo, bar = 1, 2
^^^^^^^^^^^^^^^

◆ lhs

Node* lib_ruby_parser::Masgn::lhs

Left hand statement of the assignment.

◆ operator_l

Loc lib_ruby_parser::Masgn::operator_l

Location of the = operator

foo, bar = 1, 2
^

◆ rhs

Node* lib_ruby_parser::Masgn::rhs

Left hand statement of the assignment.


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