class AdLint::FunctionId
Attributes
name[R]
signature[R]
Public Class Methods
new(name, sig_str)
click to toggle source
# File lib/adlint/code.rb, line 469 def initialize(name, sig_str) @name, @signature = name, sig_str end
of_ctors_section()
click to toggle source
# File lib/adlint/code.rb, line 463 def self.of_ctors_section # NOTE: To represent an object referrer of non-function in case of global # function table initialization. self.new(nil, nil) end
Public Instance Methods
named?()
click to toggle source
# File lib/adlint/code.rb, line 476 def named? !@name.nil? end
to_a()
click to toggle source
# File lib/adlint/code.rb, line 480 def to_a [@name, @signature] end