Module: YTLJit::VM::TypeCodeGen::YTLJitRuntimeThreadTypeBoxedCodeGen
- Includes:
- TypeUtil
- Defined in:
- lib/ytl/thread.rb
Instance Attribute Summary collapse
-
#element_type ⇒ Object
Returns the value of attribute element_type.
Instance Method Summary collapse
- #gen_copy(context) ⇒ Object
- #have_element? ⇒ Boolean
- #init ⇒ Object
- #inspect ⇒ Object
- #instance ⇒ Object
Instance Attribute Details
#element_type ⇒ Object
Returns the value of attribute element_type.
17 18 19 |
# File 'lib/ytl/thread.rb', line 17 def element_type @element_type end |
Instance Method Details
#gen_copy(context) ⇒ Object
19 20 21 |
# File 'lib/ytl/thread.rb', line 19 def gen_copy(context) context end |
#have_element? ⇒ Boolean
23 24 25 |
# File 'lib/ytl/thread.rb', line 23 def have_element? true end |
#init ⇒ Object
13 14 15 |
# File 'lib/ytl/thread.rb', line 13 def init @element_type = nil end |
#inspect ⇒ Object
27 28 29 |
# File 'lib/ytl/thread.rb', line 27 def inspect "{#{@ruby_type} self=#{@element_type.inspect}}" end |
#instance ⇒ Object
6 7 8 9 10 11 |
# File 'lib/ytl/thread.rb', line 6 def instance ni = self.dup ni.instance_eval { extend YTLJitRuntimeThreadTypeBoxedCodeGen } ni.init ni end |