Class: Delorean::IndexOp
- Defined in:
- lib/delorean/nodes.rb
Instance Method Summary collapse
Instance Method Details
#check(context) ⇒ Object
269 270 271 |
# File 'lib/delorean/nodes.rb', line 269 def check(context, *) args.check(context) end |
#rewrite(context, vcode) ⇒ Object
273 274 275 |
# File 'lib/delorean/nodes.rb', line 273 def rewrite(context, vcode) "_index(#{vcode}, [#{args.rewrite(context)}], _e)" end |