Class: Yoda::Model::FunctionSignatures::Base Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/yoda/model/function_signatures/base.rb

Overview

This class is abstract.

Direct Known Subclasses

Constructor, Method, Overload, RbsMethod

Instance Method Summary collapse

Instance Method Details

#documentString

This method is abstract.

Returns:

  • (String)


39
40
41
# File 'lib/yoda/model/function_signatures/base.rb', line 39

def document
  fail NotImplementedError
end

#nameString

This method is abstract.

Returns:

  • (String)


27
28
29
# File 'lib/yoda/model/function_signatures/base.rb', line 27

def name
  fail NotImplementedError
end

#namespace_pathString

This method is abstract.

Returns:

  • (String)


33
34
35
# File 'lib/yoda/model/function_signatures/base.rb', line 33

def namespace_path
  fail NotImplementedError
end

#parameter_type_of(param) ⇒ TypeExpressions::Base?

This method is abstract.

Parameters:

  • param (String)

Returns:



69
70
71
# File 'lib/yoda/model/function_signatures/base.rb', line 69

def parameter_type_of(param)
  fail NotImplementedError
end

#parametersParameterList

This method is abstract.

Returns:



51
52
53
# File 'lib/yoda/model/function_signatures/base.rb', line 51

def parameters
  fail NotImplementedError
end

#rbs_type(env) ⇒ RBS::MethodType

This method is abstract.

Parameters:

Returns:

  • (RBS::MethodType)


15
16
17
# File 'lib/yoda/model/function_signatures/base.rb', line 15

def rbs_type(env)
  fail NotImplementedError
end

#sourcesArray<(String, Integer, Integer)>

This method is abstract.

Returns:

  • (Array<(String, Integer, Integer)>)


57
58
59
# File 'lib/yoda/model/function_signatures/base.rb', line 57

def sources
  fail NotImplementedError
end

#tagsArray<Store::Objects::Tag>

This method is abstract.

Returns:



45
46
47
# File 'lib/yoda/model/function_signatures/base.rb', line 45

def tags
  fail NotImplementedError
end

#to_sString

Returns:

  • (String)


62
63
64
# File 'lib/yoda/model/function_signatures/base.rb', line 62

def to_s
  formatter.to_s
end

#typeTypeExpressions::FunctionType

This method is abstract.


8
9
10
# File 'lib/yoda/model/function_signatures/base.rb', line 8

def type
  fail NotImplementedError
end

#visibilitySymbol

This method is abstract.

Returns:

  • (Symbol)


21
22
23
# File 'lib/yoda/model/function_signatures/base.rb', line 21

def visibility
  fail NotImplementedError
end

#wrap(env) ⇒ Wrapper

Parameters:

Returns:



75
76
77
# File 'lib/yoda/model/function_signatures/base.rb', line 75

def wrap(env)
  Wrapper.new(environment: env, signature: self)
end