123456789_123456789_123456789_123456789_123456789_

Class: RBS::AST::Ruby::Members::ModuleSelfMember

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Base
Instance Chain:
Inherits: RBS::AST::Ruby::Members::Base
Defined in: lib/rbs/ast/ruby/members.rb

Class Method Summary

Instance Attribute Summary

Base - Inherited

Instance Method Summary

Constructor Details

.new(buffer, annotation) ⇒ ModuleSelfMember

[ GitHub ]

  
# File 'lib/rbs/ast/ruby/members.rb', line 735

def initialize(buffer, annotation)
  super(buffer)
  @annotation = annotation
end

Instance Attribute Details

#annotation (readonly)

[ GitHub ]

  
# File 'lib/rbs/ast/ruby/members.rb', line 733

attr_reader :annotation

Instance Method Details

#args

[ GitHub ]

  
# File 'lib/rbs/ast/ruby/members.rb', line 744

def args
  annotation.args
end

#location

[ GitHub ]

  
# File 'lib/rbs/ast/ruby/members.rb', line 748

def location
  annotation.location
end

#name

[ GitHub ]

  
# File 'lib/rbs/ast/ruby/members.rb', line 740

def name
  annotation.name
end

#type_fingerprint

[ GitHub ]

  
# File 'lib/rbs/ast/ruby/members.rb', line 752

def type_fingerprint
  [
    "members/module_self",
    annotation.type_fingerprint
  ]
end