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
356 357 358 359 360 361 362 363 364 |
# File 'lib/ytl/macro.rb', line 356 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 |