Class: Citrus::Cmp

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

Instance Method Summary collapse

Instance Method Details

#codegen(g) ⇒ Object



59
60
61
# File 'lib/citrus/nodes.rb', line 59

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