class AdLint::Ld::FunctionDeclaration
Public Class Methods
new(fun_dcl_rec)
click to toggle source
# File lib/adlint/ld/object.rb, line 227 def initialize(fun_dcl_rec) @met_record = fun_dcl_rec end
Public Instance Methods
eql?(rhs)
click to toggle source
# File lib/adlint/ld/object.rb, line 255 def eql?(rhs) signature == rhs.signature && location == rhs.location end
Also aliased as: ==
explicit?()
click to toggle source
# File lib/adlint/ld/object.rb, line 247 def explicit? @met_record.function_declaration_type == "E" end
extern?()
click to toggle source
# File lib/adlint/ld/object.rb, line 243 def extern? @met_record.function_linkage_type == "X" end
hash()
click to toggle source
# File lib/adlint/ld/object.rb, line 261 def hash "#{signature} #{location}".hash end
implicit?()
click to toggle source
# File lib/adlint/ld/object.rb, line 251 def implicit? @met_record.function_declaration_type == "I" end
location()
click to toggle source
# File lib/adlint/ld/object.rb, line 231 def location @met_record.location end
name()
click to toggle source
# File lib/adlint/ld/object.rb, line 239 def name @met_record.function_id.name end
signature()
click to toggle source
# File lib/adlint/ld/object.rb, line 235 def signature @met_record.function_id.signature end