Class: RBS::Types::Alias
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
self,
Application
|
|
Inherits: | Object |
Defined in: | lib/rbs/types.rb |
Class Method Summary
- .new(name:, args:, location:) ⇒ Alias constructor
Instance Attribute Summary
- #location readonly
Application
- Included
Instance Method Summary
Application
- Included
#==, #each_type, | |
#eql? |
|
#free_variables, #hash, #to_s |
Constructor Details
.new(name:, args:, location:) ⇒ Alias
# File 'lib/rbs/types.rb', line 399
def initialize(name:, args:, location:) @name = name @args = args @location = location end
Instance Attribute Details
#location (readonly)
[ GitHub ]# File 'lib/rbs/types.rb', line 395
attr_reader :location
Instance Method Details
#map_type(&block)
[ GitHub ]#map_type_name(&block)
[ GitHub ]#sub(s)
[ GitHub ]#to_json(state = _ = nil)
[ GitHub ]# File 'lib/rbs/types.rb', line 405
def to_json(state = _ = nil) { class: :alias, name: name, args: args, location: location }.to_json(state) end