Class: YTLJit::VM::ToRubyContext
- Inherits:
-
Object
- Object
- YTLJit::VM::ToRubyContext
- Defined in:
- lib/ytl/macro.rb
Instance Attribute Summary collapse
-
#defined_method ⇒ Object
readonly
Returns the value of attribute defined_method.
-
#jmp_tab ⇒ Object
readonly
Returns the value of attribute jmp_tab.
-
#ret_code ⇒ Object
readonly
Returns the value of attribute ret_code.
-
#work_prefix ⇒ Object
readonly
Returns the value of attribute work_prefix.
Instance Method Summary collapse
-
#initialize ⇒ ToRubyContext
constructor
A new instance of ToRubyContext.
Constructor Details
#initialize ⇒ ToRubyContext
Returns a new instance of ToRubyContext.
4 5 6 7 8 9 |
# File 'lib/ytl/macro.rb', line 4 def initialize @ret_code = [""] @jmp_tab = {} @defined_method = {} @work_prefix = [] end |
Instance Attribute Details
#defined_method ⇒ Object (readonly)
Returns the value of attribute defined_method.
13 14 15 |
# File 'lib/ytl/macro.rb', line 13 def defined_method @defined_method end |
#jmp_tab ⇒ Object (readonly)
Returns the value of attribute jmp_tab.
12 13 14 |
# File 'lib/ytl/macro.rb', line 12 def jmp_tab @jmp_tab end |
#ret_code ⇒ Object (readonly)
Returns the value of attribute ret_code.
11 12 13 |
# File 'lib/ytl/macro.rb', line 11 def ret_code @ret_code end |
#work_prefix ⇒ Object (readonly)
Returns the value of attribute work_prefix.
14 15 16 |
# File 'lib/ytl/macro.rb', line 14 def work_prefix @work_prefix end |