class AdLint::Cc1::NamedFunction
Public Class Methods
new(dcl_or_def, type, name)
click to toggle source
Calls superclass method
AdLint::Cc1::Function::new
# File lib/adlint/cc1/object.rb, line 1026 def initialize(dcl_or_def, type, name) super(dcl_or_def, type) self.name = name end
Public Instance Methods
call(*)
click to toggle source
Calls superclass method
AdLint::Cc1::Function#call
# File lib/adlint/cc1/object.rb, line 1035 def call(*) case name when "exit", "_exit", "abort" BreakEvent.of_return.throw when "longjmp", "siglongjmp" BreakEvent.of_return.throw else super end end
designated_by_lvalue?()
click to toggle source
# File lib/adlint/cc1/object.rb, line 1031 def designated_by_lvalue? true end
signature()
click to toggle source
# File lib/adlint/cc1/object.rb, line 1046 def signature FunctionSignature.new(name, type) end