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.1.3/lib/rbs/ast/ruby/members.rb, line 707 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.1.3/lib/rbs/ast/ruby/members.rb, line 720 def location annotation.location end
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.3/lib/rbs/ast/ruby/members.rb, line 712 def name annotation.ivar_name end
() → Types::t
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.3/lib/rbs/ast/ruby/members.rb, line 716 def type annotation.type end
() → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.3/lib/rbs/ast/ruby/members.rb, line 724 def type_fingerprint [ "members/instance_variable", annotation.type_fingerprint ] end