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, #flat_string, #kind, #pretty_print_instance_variables, #project, #render
Constructor Details
#initialize(left, operator, right) ⇒ BinaryExpression
Returns a new instance of BinaryExpression.
153 154 155 156 |
# File 'lib/hiptest-publisher/nodes.rb', line 153 def initialize(left, operator, right) super() @children = {operator: operator, left: left, right: right} end |