Class: IDL::Expression::Operation::LShift
- Inherits:
-
Shift
- Object
- IDL::Expression
- IDL::Expression::Operation
- Integer2
- Shift
- IDL::Expression::Operation::LShift
- Defined in:
- lib/ridl/expression.rb
Constant Summary
Constants inherited from Integer2
Integer2::Applicable, Integer2::NUMBER_OF_OPERANDS
Constants inherited from IDL::Expression::Operation
Instance Attribute Summary
Attributes inherited from IDL::Expression::Operation
Attributes inherited from IDL::Expression
Instance Method Summary collapse
Methods inherited from Integer2
Methods inherited from IDL::Expression::Operation
#initialize, #instantiate, #is_template?, #set_type, suite_type
Methods inherited from IDL::Expression
#instantiate, #is_template?, #typename
Constructor Details
This class inherits a constructor from IDL::Expression::Operation
Instance Method Details
#calculate(lop, rop) ⇒ Object
247 248 249 250 |
# File 'lib/ridl/expression.rb', line 247 def calculate(lop,rop) check_rop(rop) lop << rop end |