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

Represents left hand statement of the mass-assignment (i.e. foo, bar in foo, bar = 1, 2) More...

#include <nodes.hpp>

Public Attributes

NodeList items
 A list of items that are assigned. More...
 
MaybeLoc begin_l
 
MaybeLoc end_l
 
Loc expression_l
 

Detailed Description

Represents left hand statement of the mass-assignment (i.e. foo, bar in foo, bar = 1, 2)

Member Data Documentation

◆ begin_l

MaybeLoc lib_ruby_parser::Mlhs::begin_l

Location of the open parenthesis

(a, b) = 1, 2
^

None if there are no parentheses

◆ end_l

MaybeLoc lib_ruby_parser::Mlhs::end_l

Location of the closing parenthesis

(a, b) = 1, 2
^

None if there are no parentheses

◆ expression_l

Loc lib_ruby_parser::Mlhs::expression_l

Location of the full expression

(a, b) = 1, 2
^^^^^^

◆ items

NodeList lib_ruby_parser::Mlhs::items

A list of items that are assigned.


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