Class: Hiptest::Nodes::BinaryExpression
- Defined in:
- lib/hiptest-publisher/nodes.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(left, operator, right) ⇒ BinaryExpression
constructor
A new instance of BinaryExpression.
Methods inherited from Node
#==, #each_direct_children, #each_sub_nodes, #kind, #pretty_print_instance_variables, #project, #render
Constructor Details
#initialize(left, operator, right) ⇒ BinaryExpression
Returns a new instance of BinaryExpression.
131 132 133 134 |
# File 'lib/hiptest-publisher/nodes.rb', line 131 def initialize(left, operator, right) super() @children = {:operator => operator, :left => left, :right => right} end |