class RBS::AST::Ruby::Annotations::Base
Attributes
location
[R]
Location
Location that covers all of the annotation
prefix_location
[R]
Location
Location of @rbs, @rbs!, or : prefix
Public Class Methods
(Location location, Location prefix_location) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/ruby/annotations.rb, line 10 def initialize(location, prefix_location) @location = location @prefix_location = prefix_location end
Public Instance Methods
() → Buffer
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/ruby/annotations.rb, line 15 def buffer location.buffer end
() → untyped
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/sig/ast/ruby/annotations.rbs, line 36
def type_fingerprint: () -> untyped
Returns the type fingerprint for this annotation