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 728
attr_reader :location
#name (readonly)
[ GitHub ]# File 'lib/rbs/types.rb', line 727
attr_reader :name
#type (readonly)
[ GitHub ]# File 'lib/rbs/types.rb', line 726
attr_reader :type
Instance Method Details
#==(other) Also known as: #eql?
[ GitHub ]#eql?(other)
::RBS::Types::Alias
for #==.
# File 'lib/rbs/types.rb', line 740
alias eql? ==