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.
1080 1081 1082 |
# File 'lib/adlint/cc1/object.rb', line 1080 def initialize(type) super(nil, type) end |
Instance Method Details
#builtin? ⇒ Boolean
1092 1093 1094 |
# File 'lib/adlint/cc1/object.rb', line 1092 def builtin? false end |
#designated_by_lvalue? ⇒ Boolean
1084 1085 1086 |
# File 'lib/adlint/cc1/object.rb', line 1084 def designated_by_lvalue? false end |
#explicit? ⇒ Boolean
1088 1089 1090 |
# File 'lib/adlint/cc1/object.rb', line 1088 def explicit? false end |
#signature ⇒ Object
1096 1097 1098 |
# File 'lib/adlint/cc1/object.rb', line 1096 def signature FunctionSignature.new("__adlint__anon_func", type) end |