class Yoda::Model::FunctionSignatures::Base
@abstract
Public Instance Methods
document()
click to toggle source
@abstract @return [String]
# File lib/yoda/model/function_signatures/base.rb, line 32 def document fail NotImplementedError end
name()
click to toggle source
@abstract @return [String]
# File lib/yoda/model/function_signatures/base.rb, line 20 def name fail NotImplementedError end
namespace_path()
click to toggle source
@abstract @return [String]
# File lib/yoda/model/function_signatures/base.rb, line 26 def namespace_path fail NotImplementedError end
parameter_type_of(param)
click to toggle source
@abstract @return [Types::Base, nil]
# File lib/yoda/model/function_signatures/base.rb, line 55 def parameter_type_of(param) fail NotImplementedError end
parameters()
click to toggle source
@abstract @return [ParameterList]
# File lib/yoda/model/function_signatures/base.rb, line 38 def parameters fail NotImplementedError end
sources()
click to toggle source
@abstract @return [Array<(String, Integer, Integer)>]
# File lib/yoda/model/function_signatures/base.rb, line 44 def sources fail NotImplementedError end
to_s()
click to toggle source
@return [String]
# File lib/yoda/model/function_signatures/base.rb, line 49 def to_s formatter.to_s end
type()
click to toggle source
@abstract @return [Types::FunctionType]
# File lib/yoda/model/function_signatures/base.rb, line 8 def type fail NotImplementedError end
visibility()
click to toggle source
@abstract @return [Symbol]
# File lib/yoda/model/function_signatures/base.rb, line 14 def visibility fail NotImplementedError end
Private Instance Methods
formatter()
click to toggle source
@return [Formatter]
# File lib/yoda/model/function_signatures/base.rb, line 62 def formatter @formatter ||= Formatter.new(self) end