Class: YTLJit::VM::Node::LocalFrameInfoNode
- Inherits:
-
Object
- Object
- YTLJit::VM::Node::LocalFrameInfoNode
- Defined in:
- lib/ytl/macro.rb
Instance Method Summary collapse
Instance Method Details
#to_ruby(context) ⇒ Object
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
# File 'lib/ytl/macro.rb', line 90 def to_ruby(context) argpos = 0 visitsys = false @frame_layout.each do |vinf| if vinf.is_a?(LocalVarNode) then argpos = argpos + 1 if argpos > 3 and visitsys then context = vinf.to_ruby(context) context.ret_code.last << ", " end else visitsys = true argpos = 0 end end context.ret_code.last.chop! context.ret_code.last.chop! context end |