class AdLint::Ld::VariableDeclaration

Public Class Methods

new(gvar_dcl_rec) click to toggle source
# File lib/adlint/ld/object.rb, line 76
def initialize(gvar_dcl_rec)
  @met_record = gvar_dcl_rec
end

Public Instance Methods

==(rhs)
Alias for: eql?
eql?(rhs) click to toggle source
# File lib/adlint/ld/object.rb, line 96
def eql?(rhs)
  name == rhs.name && location == rhs.location
end
Also aliased as: ==
extern?() click to toggle source
# File lib/adlint/ld/object.rb, line 92
def extern?
  true
end
hash() click to toggle source
# File lib/adlint/ld/object.rb, line 102
def hash
  "#{name} #{location}".hash
end
location() click to toggle source
# File lib/adlint/ld/object.rb, line 80
def location
  @met_record.location
end
name() click to toggle source
# File lib/adlint/ld/object.rb, line 84
def name
  @met_record.variable_name
end
type() click to toggle source
# File lib/adlint/ld/object.rb, line 88
def type
  @met_record.type_rep
end