Sha256: bd341a46855f98d7d934caec3b5ee774e1a7109d6de443d6f4f0fbd0891a1180

Contents?: true

Size: 518 Bytes

Versions: 12

Compression:

Stored size: 518 Bytes

Contents

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

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

      def ==: (untyped other) -> bool

      alias eql? ==

      def hash: () -> Integer

      include _ToJson
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rbs-1.6.2 sig/annotation.rbs
rbs-1.6.1 sig/annotation.rbs
rbs-1.6.0 sig/annotation.rbs
rbs-1.5.1 sig/annotation.rbs
rbs-1.5.0 sig/annotation.rbs
rbs-1.4.0 sig/annotation.rbs
rbs-1.3.3 sig/annotation.rbs
rbs-1.3.2 sig/annotation.rbs
rbs-1.3.1 sig/annotation.rbs
rbs-1.3.0 sig/annotation.rbs
rbs-1.2.1 sig/annotation.rbs
rbs-1.2.0 sig/annotation.rbs