Class: C::Dereference

Inherits:
Object
  • Object
show all
Defined in:
lib/csquare.rb

Instance Method Summary collapse

Instance Method Details

#depthObject



978
979
980
# File 'lib/csquare.rb', line 978

def depth
  self.expr.depth
end

#return_typename(function, blueprint) ⇒ Object



974
975
976
# File 'lib/csquare.rb', line 974

def return_typename function, blueprint
  function.type_of(self.expr.name, blueprint).type.name # de-Pointerize
end