%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/plesk/ruby/3.1.3/lib64/ruby/gems/3.1.0/gems/rbs-2.7.0/sig/
Upload File :
Create Path :
Current File : //opt/plesk/ruby/3.1.3/lib64/ruby/gems/3.1.0/gems/rbs-2.7.0/sig/annotation.rbs

module RBS
  module AST
    # RBS allows writing annotations of declarations and members.
    #
    # ```rbs
    # %a{annotation_here}
    # class Hello
    #   %a{rbs:test:skip}
    #   def foo: () -> void
    # end
    # ```
    class Annotation
      attr_reader string: String
      attr_reader location: Location[untyped, untyped]?

      def initialize: (string: String, location: Location[untyped, untyped]?) -> void

      def ==: (untyped other) -> bool

      alias eql? ==

      def hash: () -> Integer

      include _ToJson
    end
  end
end

Zerion Mini Shell 1.0