Class: Delorean::Expr

Inherits:
SNode
  • Object
show all
Defined in:
lib/delorean/nodes.rb

Instance Method Summary collapse

Instance Method Details

#check(context) ⇒ Object



144
145
146
# File 'lib/delorean/nodes.rb', line 144

def check(context, *)
  e.check(context)
end

#rewrite(context) ⇒ Object



148
149
150
# File 'lib/delorean/nodes.rb', line 148

def rewrite(context)
  "(#{e.rewrite(context)})"
end