class RBS::AST::Ruby::Annotations::AliasAnnotation
Attributes
keyword_location
[R]
Location
The name of the module that will be the target of the alias
-
nilif the module/class name is unspecified -
TypeNameobject if the module/class name is specified
type_name_location
[R]
Location?
Public Class Methods
(location: Location, prefix_location: Location, keyword_location: Location, type_name: TypeName?, type_name_location: Location?) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/ast/ruby/annotations.rb, line 46 def initialize(location:, prefix_location:, keyword_location:, type_name:, type_name_location:) super(location, prefix_location) @keyword_location = keyword_location @type_name = type_name @type_name_location = type_name_location end
Calls superclass method
RBS::AST::Ruby::Annotations::Base::new