Class: Rubex::AST::Expression::CoerceObject

Inherits:
Base
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/rubex/ast/expression/coerce_object.rb

Direct Known Subclasses

FromRubyObject, ToRubyObject, TypecastTo

Instance Attribute Summary collapse

Attributes inherited from Base

#entry, #type, #typecast

Method Summary

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

Instance Attribute Details

#exprObject (readonly)

Returns the value of attribute expr.



5
6
7
# File 'lib/rubex/ast/expression/coerce_object.rb', line 5

def expr
  @expr
end