Class: ZOMG::IDL::Nodes::Binary

Inherits:
Node
  • Object
show all
Defined in:
lib/zomg/idl/nodes/binary.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#children, #name

Instance Method Summary collapse

Methods inherited from Node

#duhr, #to_i, #to_ruby, #to_ruby_sexp, #to_sexp

Methods included from Visitable

#accept

Constructor Details

#initialize(left, right) ⇒ Binary

Returns a new instance of Binary.



7
8
9
10
# File 'lib/zomg/idl/nodes/binary.rb', line 7

def initialize(left, right)
  @left = left
  super(right)
end

Instance Attribute Details

#leftObject

Returns the value of attribute left.



5
6
7
# File 'lib/zomg/idl/nodes/binary.rb', line 5

def left
  @left
end