Class: AdLint::Cc1::AnonymousFunction
- Inherits:
-
Function
- Object
- Object
- TypedObject
- Function
- AdLint::Cc1::AnonymousFunction
- Defined in:
- lib/adlint/cc1/object.rb
Instance Attribute Summary
Attributes inherited from TypedObject
Attributes inherited from Object
Attributes included from Bindable
Instance Method Summary collapse
- #builtin? ⇒ Boolean
- #designated_by_lvalue? ⇒ Boolean
- #explicit? ⇒ Boolean
-
#initialize(type) ⇒ AnonymousFunction
constructor
A new instance of AnonymousFunction.
- #signature ⇒ Object
Methods inherited from Function
#call, #function?, #implicit?, #name, #named?, #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?, #function?, #named?, #storage_class_specifiers, #temporary?, #variable?
Methods included from Bindable
Constructor Details
#initialize(type) ⇒ AnonymousFunction
Returns a new instance of AnonymousFunction.
1071 1072 1073 |
# File 'lib/adlint/cc1/object.rb', line 1071 def initialize(type) super(nil, type) end |
Instance Method Details
#builtin? ⇒ Boolean
1083 1084 1085 |
# File 'lib/adlint/cc1/object.rb', line 1083 def builtin? false end |
#designated_by_lvalue? ⇒ Boolean
1075 1076 1077 |
# File 'lib/adlint/cc1/object.rb', line 1075 def designated_by_lvalue? false end |
#explicit? ⇒ Boolean
1079 1080 1081 |
# File 'lib/adlint/cc1/object.rb', line 1079 def explicit? false end |
#signature ⇒ Object
1087 1088 1089 |
# File 'lib/adlint/cc1/object.rb', line 1087 def signature FunctionSignature.new("__adlint__anon_func", type) end |