Class: Citrus::Neg

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

Instance Method Summary collapse

Instance Method Details

#codegen(g) ⇒ Object



71
72
73
# File 'lib/citrus/nodes.rb', line 71

def codegen(g)
  g.negate(object.codegen(g))
end