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
Instance Method Summary
::RBS::AST::Ruby::Helpers::LocationHelper - Included
Constructor Details
.new(buffer, annotation) ⇒ ModuleSelfMember
# 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