Class: YTLJit::VM::Node::LocalAssignNode
- Inherits:
-
Object
- Object
- YTLJit::VM::Node::LocalAssignNode
- Defined in:
- lib/ytl/macro.rb
Instance Method Summary collapse
Instance Method Details
#to_ruby(context) ⇒ Object
374 375 376 377 378 379 380 381 382 |
# File 'lib/ytl/macro.rb', line 374 def to_ruby(context) cfi = @current_frame_info off = cfi.real_offset(@offset) lv = cfi.frame_layout[off] context.ret_code.last << "_#{lv.name.to_s} = " context = @val.to_ruby(context) context.ret_code.last << "\n" @body.to_ruby(context) end |