Class: Citrus::Equation

Inherits:
Node
  • Object
show all
Defined in:
lib/citrus/nodes.rb

Instance Method Summary collapse

Instance Method Details

#codegen(g) ⇒ Object



65
66
67
# File 'lib/citrus/nodes.rb', line 65

def codegen(g)
  g.equate(op.value, object.codegen(g), expression.codegen(g).last)
end