lib-ruby-parser (C++ bindings)
4.0.1+ruby-3.1.1
C++ bindings for lib-ruby-parser library
|
Represents an operation with assignment (e.g. a += 1
)
More...
#include <nodes.hpp>
Public Attributes | |
Node * | recv |
Left hand statement of the assignment. More... | |
String | operator_ |
Node * | value |
Right hand statement of the assignment. More... | |
Loc | operator_l |
Loc | expression_l |
Represents an operation with assignment (e.g. a += 1
)
Loc lib_ruby_parser::OpAsgn::expression_l |
Location of the operator
String lib_ruby_parser::OpAsgn::operator_ |
Operator, can be one of:
+=
-=
*=
/=
|=
&=
>>=
<<=
%=
^=
**=
Loc lib_ruby_parser::OpAsgn::operator_l |
Location of the operator
Node* lib_ruby_parser::OpAsgn::recv |
Left hand statement of the assignment.
Node* lib_ruby_parser::OpAsgn::value |
Right hand statement of the assignment.