Class: Nodewrap::ByteDecoder::Expression::Assignment
- Inherits:
-
Nodewrap::ByteDecoder::Expression
- Object
- Nodewrap::ByteDecoder::Expression
- Nodewrap::ByteDecoder::Expression::Assignment
- Defined in:
- lib/bytedecoder.rb
Instance Attribute Summary collapse
-
#rhs ⇒ Object
readonly
Returns the value of attribute rhs.
Attributes inherited from Nodewrap::ByteDecoder::Expression
Instance Method Summary collapse
-
#initialize(pc, name, rhs) ⇒ Assignment
constructor
A new instance of Assignment.
- #precedence ⇒ Object
- #to_s ⇒ Object
Methods inherited from Nodewrap::ByteDecoder::Expression
Constructor Details
#initialize(pc, name, rhs) ⇒ Assignment
Returns a new instance of Assignment.
388 389 390 391 392 |
# File 'lib/bytedecoder.rb', line 388 def initialize(pc, name, rhs) super(pc) @name = name @rhs = rhs end |
Instance Attribute Details
#rhs ⇒ Object (readonly)
Returns the value of attribute rhs.
386 387 388 |
# File 'lib/bytedecoder.rb', line 386 def rhs @rhs end |