Class: RBS::AST::Ruby::Annotations::ClassAliasAnnotation

Inherits:
AliasAnnotation show all
Defined in:
lib/rbs/ast/ruby/annotations.rb

Instance Attribute Summary

Attributes inherited from AliasAnnotation

#keyword_location, #type_name, #type_name_location

Attributes inherited from Base

#location, #prefix_location

Instance Method Summary collapse

Methods inherited from AliasAnnotation

#initialize, #map_type_name

Methods inherited from Base

#buffer, #initialize

Constructor Details

This class inherits a constructor from RBS::AST::Ruby::Annotations::AliasAnnotation

Instance Method Details

#type_fingerprintObject



65
66
67
68
69
70
# File 'lib/rbs/ast/ruby/annotations.rb', line 65

def type_fingerprint
  [
    "annots/class-alias",
    type_name&.to_s
  ]
end