Class: Delorean::Expr

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

Instance Method Summary collapse

Instance Method Details

#check(context) ⇒ Object



152
153
154
# File 'lib/delorean/nodes.rb', line 152

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

#rewrite(context) ⇒ Object



156
157
158
# File 'lib/delorean/nodes.rb', line 156

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