Class: AdLint::Cc1::AliasVariable
- Inherits:
-
NamedVariable
- Object
- Object
- TypedObject
- Variable
- ScopedVariable
- OuterVariable
- NamedVariable
- AdLint::Cc1::AliasVariable
- Defined in:
- lib/adlint/cc1/object.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes included from Nameable
Attributes inherited from OuterVariable
Attributes inherited from ScopedVariable
Attributes inherited from TypedObject
Attributes inherited from Object
Attributes included from Bindable
Instance Method Summary collapse
-
#initialize(var) ⇒ AliasVariable
constructor
A new instance of AliasVariable.
Methods inherited from NamedVariable
#designated_by_lvalue?, #pretty_print, #temporary?, #to_named_variable
Methods included from Nameable
Methods inherited from OuterVariable
#assign!, #begin_value_versioning, #end_value_versioning, #enter_value_versioning_group, #inner?, #inner_variable_at, #inner_variable_named, #leave_value_versioning_group, #rollback_all_value_versions!, #thin_latest_value_version!
Methods inherited from ScopedVariable
#declared_as_auto?, #declared_as_extern?
Methods inherited from Variable
#assign!, #begin_value_versioning, #end_value_versioning, #enter_value_versioning_group, #function?, #inner?, #leave_value_versioning_group, #name, #named?, #narrow_value_domain!, #outer?, #rollback_all_value_versions!, #thin_latest_value_version!, #uninitialize!, #value, #variable?, #widen_value_domain!
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(var) ⇒ AliasVariable
Returns a new instance of AliasVariable.
650 651 652 653 |
# File 'lib/adlint/cc1/object.rb', line 650 def initialize(var) super(var.binding.memory, var.declarations_and_definitions.first, var.scope) end |