Class: RBS::Types::Function::Param
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/rbs/types.rb |
Class Method Summary
- .new(type:, name:, location: nil) ⇒ Param constructor
Instance Attribute Summary
Instance Method Summary
- #==(other) (also: #eql?)
-
#eql?(other)
::RBS::Types::Alias
for #==. - #hash
- #map_type(&block)
- #to_json(state = _ = nil)
- #to_s
Constructor Details
.new(type:, name:, location: nil) ⇒ Param
Instance Attribute Details
#location (readonly)
[ GitHub ]# File 'lib/rbs/types.rb', line 854
attr_reader :location
#name (readonly)
[ GitHub ]# File 'lib/rbs/types.rb', line 853
attr_reader :name
#type (readonly)
[ GitHub ]# File 'lib/rbs/types.rb', line 852
attr_reader :type
Instance Method Details
#==(other) Also known as: #eql?
[ GitHub ]#eql?(other)
::RBS::Types::Alias
for #==.
# File 'lib/rbs/types.rb', line 866
alias eql? ==