|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents assignment using indexing operation (i.e. foo[1, 2, 3] = bar)
More...
#include <nodes.hpp>
Public Attributes | |
| Node * | recv |
| Receiver of the indexing. More... | |
| NodeList | indexes |
| A list of indexes. More... | |
| Node * | value |
| Loc | begin_l |
| Loc | end_l |
| MaybeLoc | operator_l |
| Loc | expression_l |
Represents assignment using indexing operation (i.e. foo[1, 2, 3] = bar)
| Loc lib_ruby_parser::IndexAsgn::begin_l |
Location of open bracket
| Loc lib_ruby_parser::IndexAsgn::end_l |
Location of closing bracket
| Loc lib_ruby_parser::IndexAsgn::expression_l |
Location of the full expression
| NodeList lib_ruby_parser::IndexAsgn::indexes |
A list of indexes.
| MaybeLoc lib_ruby_parser::IndexAsgn::operator_l |
Location of the = operator
None if assignment is a part of the multi-assignment. In such case operator = belongs to Masgn node.
| Node* lib_ruby_parser::IndexAsgn::recv |
Receiver of the indexing.
| Node* lib_ruby_parser::IndexAsgn::value |
Value that is assigned
None if assignment is a part of the multi-assignment. In such case value belongs to Masgn node.