Class: Delorean::UnOp
- Defined in:
- lib/delorean/nodes.rb
Overview
unary operator
Instance Method Summary collapse
Instance Method Details
#check(context) ⇒ Object
173 174 175 |
# File 'lib/delorean/nodes.rb', line 173 def check(context, *) e.check(context) end |
#rewrite(context) ⇒ Object
177 178 179 |
# File 'lib/delorean/nodes.rb', line 177 def rewrite(context) op.text_value + e.rewrite(context) end |