Class: Delorean::Expr

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

Instance Method Summary collapse

Instance Method Details

#check(context) ⇒ Object



119
120
121
# File 'lib/delorean/nodes.rb', line 119

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

#rewrite(context) ⇒ Object



123
124
125
# File 'lib/delorean/nodes.rb', line 123

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