Class: AdLint::Cc1::ExplicitFunction
- Inherits:
-
NamedFunction
- Object
- Object
- TypedObject
- Function
- NamedFunction
- AdLint::Cc1::ExplicitFunction
- Defined in:
- lib/adlint/cc1/object.rb
Instance Attribute Summary
Attributes included from Nameable
Attributes inherited from TypedObject
Attributes inherited from Object
Attributes included from Bindable
Instance Method Summary collapse
- #builtin? ⇒ Boolean
- #explicit? ⇒ Boolean
-
#initialize(dcl_or_def) ⇒ ExplicitFunction
constructor
A new instance of ExplicitFunction.
Methods inherited from NamedFunction
#call, #designated_by_lvalue?, #signature
Methods included from Nameable
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
Constructor Details
#initialize(dcl_or_def) ⇒ ExplicitFunction
Returns a new instance of ExplicitFunction.
1043 1044 1045 |
# File 'lib/adlint/cc1/object.rb', line 1043 def initialize(dcl_or_def) super(dcl_or_def, dcl_or_def.type, dcl_or_def.identifier.value) end |
Instance Method Details
#builtin? ⇒ Boolean
1051 1052 1053 |
# File 'lib/adlint/cc1/object.rb', line 1051 def builtin? false end |
#explicit? ⇒ Boolean
1047 1048 1049 |
# File 'lib/adlint/cc1/object.rb', line 1047 def explicit? true end |