| Class | Node::OP_ASGN2 |
| In: |
ext/nodeinfo.c
|
| Parent: | Node |
Represents attribute assignment of the form:
recv.attr op value
where recv is the receiver of the attr method, attr is the attribute to which to assign, op is an assignment operation (e.g. +=), and value is the value to assign to the attribute.
The ‘next’ member of this class is also of type OP_ASGN2, though it has different members than its parent. This child node is documented under OP_ASGN2_ARG.