Module: YTLJit::VM::TypeCodeGen::DefaultTypeCodeGen
- Defined in:
- lib/ytljit/vm_type_gen.rb
Instance Method Summary collapse
- #gen_boxing(context) ⇒ Object
- #gen_copy(context) ⇒ Object
- #gen_unboxing(context) ⇒ Object
- #have_element? ⇒ Boolean
- #init_type ⇒ Object
- #inspect ⇒ Object
- #instance ⇒ Object
Instance Method Details
#gen_boxing(context) ⇒ Object
16 17 18 |
# File 'lib/ytljit/vm_type_gen.rb', line 16 def gen_boxing(context) context end |
#gen_copy(context) ⇒ Object
24 25 26 |
# File 'lib/ytljit/vm_type_gen.rb', line 24 def gen_copy(context) context end |
#gen_unboxing(context) ⇒ Object
20 21 22 |
# File 'lib/ytljit/vm_type_gen.rb', line 20 def gen_unboxing(context) context end |
#have_element? ⇒ Boolean
12 13 14 |
# File 'lib/ytljit/vm_type_gen.rb', line 12 def have_element? false end |
#init_type ⇒ Object
9 10 |
# File 'lib/ytljit/vm_type_gen.rb', line 9 def init_type end |
#inspect ⇒ Object
28 29 30 |
# File 'lib/ytljit/vm_type_gen.rb', line 28 def inspect "{ #{boxed ? "BOXED" : "UNBOXED"} #{@ruby_type}}" end |
#instance ⇒ Object
5 6 7 |
# File 'lib/ytljit/vm_type_gen.rb', line 5 def instance self end |