Class: Rubex::AST::Expression::TypecastTo
- Inherits:
-
CoerceObject
- Object
- Base
- CoerceObject
- Rubex::AST::Expression::TypecastTo
- Defined in:
- lib/rubex/ast/expression/typecast_to.rb
Overview
Internal class to typecast from a C type to another C type.
Instance Attribute Summary
Attributes inherited from CoerceObject
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(dtype) ⇒ TypecastTo
constructor
A new instance of TypecastTo.
Methods inherited from Base
#allocate_temp, #allocate_temps, #analyse_for_target_type, #analyse_types, #c_code, #expression?, #from_ruby_object, #generate_and_dispose_subexprs, #generate_assignment_code, #generate_disposal_code, #generate_evaluation_code, #has_temp, #possible_typecast, #release_temp, #release_temps, #to_ruby_object
Constructor Details
#initialize(dtype) ⇒ TypecastTo
Returns a new instance of TypecastTo.
6 |
# File 'lib/rubex/ast/expression/typecast_to.rb', line 6 def initialize(dtype); end |