Class: Hiptest::Nodes::BinaryExpression

Inherits:
Node
  • Object
show all
Defined in:
lib/hiptest-publisher/nodes.rb

Instance Attribute Summary

Attributes inherited from Node

#children, #parent

Instance Method Summary collapse

Methods inherited from Node

#direct_children, #find_sub_nodes, #render

Constructor Details

#initialize(left, operator, right) ⇒ BinaryExpression

Returns a new instance of BinaryExpression.



116
117
118
119
# File 'lib/hiptest-publisher/nodes.rb', line 116

def initialize(left, operator, right)
  super()
  @children = {:operator => operator, :left => left, :right => right}
end