Class: AdLint::Cc1::ImplicitFunction

Inherits:
NamedFunction show all
Defined in:
lib/adlint/cc1/object.rb

Instance Attribute Summary

Attributes included from Nameable

#name

Attributes inherited from TypedObject

#type

Attributes inherited from Object

#declarations_and_definitions

Attributes included from Bindable

#binding

Instance Method Summary collapse

Methods inherited from NamedFunction

#call, #designated_by_lvalue?, #signature

Methods included from Nameable

#named?

Methods inherited from Function

#call, #function?, #implicit?, #name, #named?, #signature, #temporary?, #variable?

Methods inherited from TypedObject

#to_pointer, #to_pointer_value, #to_value, #to_variable

Methods inherited from Object

#declared_as_auto?, #declared_as_extern?, #declared_as_register?, #declared_as_static?, #designated_by_lvalue?, #function?, #named?, #storage_class_specifiers, #temporary?, #variable?

Methods included from Bindable

#be_alias_to, #bind_to

Constructor Details

#initialize(type, name) ⇒ ImplicitFunction

Returns a new instance of ImplicitFunction.



1057
1058
1059
# File 'lib/adlint/cc1/object.rb', line 1057

def initialize(type, name)
  super(nil, type, name)
end

Instance Method Details

#builtin?Boolean

Returns:

  • (Boolean)


1065
1066
1067
# File 'lib/adlint/cc1/object.rb', line 1065

def builtin?
  false
end

#explicit?Boolean

Returns:

  • (Boolean)


1061
1062
1063
# File 'lib/adlint/cc1/object.rb', line 1061

def explicit?
  false
end