class RBS::AST::Ruby::Members::InstanceVariableMember
Attributes
annotation
[R]
Annotations::InstanceVariableAnnotation
Public Class Methods
(Buffer, Annotations::InstanceVariableAnnotation) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/ruby/members.rb, line 696 def initialize(buffer, annotation) super(buffer) @annotation = annotation end
Calls superclass method
RBS::AST::Ruby::Members::Base::new
Public Instance Methods
() → Location
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/ruby/members.rb, line 709 def location annotation.location end
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/ruby/members.rb, line 701 def name annotation.ivar_name end
() → Types::t
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/ruby/members.rb, line 705 def type annotation.type end
() → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/ruby/members.rb, line 713 def type_fingerprint [ "members/instance_variable", annotation.type_fingerprint ] end