class AdLint::Cc1::CompositeMemberVariable
Public Class Methods
component_name_of(name)
click to toggle source
# File lib/adlint/cc1/object.rb, line 649 def self.component_name_of(name) name ? ".#{name}" : nil end
new(mem, outer_var, type, name)
click to toggle source
Calls superclass method
AdLint::Cc1::InnerVariable::new
# File lib/adlint/cc1/object.rb, line 653 def initialize(mem, outer_var, type, name) super(mem, outer_var, type, self.class.component_name_of(name)) end