Class: Carbon::Compiler::Node::Expression::Assignment
- Defined in:
- lib/carbon/compiler/node/expression/assignment.rb
Overview
An assignment expression. This typically takes the form of ‘<Expression> = <Expression>`. There are three cases for assignments: a) an attribute assignment; b) an access assignment; and c) an identifier assignment. The first and second are turned into function calls using Call::Dispatch; the last is kept as-is, and turns into a store. This has three children: the left hand side, the operation, and the right hand side.
Instance Attribute Summary
Attributes inherited from Base
Method Summary
Methods inherited from Base
#[], #accept, #attributes!, #behavior?, #data, #data?, #each, #identity?, #initialize, #map!, mapping, #merge!, #type!, #update!
Constructor Details
This class inherits a constructor from Carbon::Compiler::Node::Base