|
lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents local variable assignment (i.e. foo = 42)
More...
#include <nodes.hpp>
Public Attributes | |
| String | name |
| Name of the local variable. More... | |
| Node * | value |
| Value that is assigned to a local variable. More... | |
| Loc | name_l |
| MaybeLoc | operator_l |
| Loc | expression_l |
Represents local variable assignment (i.e. foo = 42)
| Loc lib_ruby_parser::Lvasgn::expression_l |
Location of the full expression
| String lib_ruby_parser::Lvasgn::name |
Name of the local variable.
| Loc lib_ruby_parser::Lvasgn::name_l |
Location of the local variable name
| MaybeLoc lib_ruby_parser::Lvasgn::operator_l |
Location of the = operator
None if local variable assignment is a part of the multi-assignment. In such case value is a part of the Masgn node.
| Node* lib_ruby_parser::Lvasgn::value |
Value that is assigned to a local variable.