Sha256: 7c923cfecc5c5879bd6d11d723e0a34320ca6d76e19bedd72093cba8644bbff1

Contents?: true

Size: 722 Bytes

Versions: 11

Compression:

Stored size: 722 Bytes

Contents

module Steep
  module AST
    module Node
      class TypeAssertion
        attr_reader location: RBS::Location[untyped, untyped]

        def source: () -> String

        def line: () -> Integer

        def initialize: (RBS::Location[untyped, untyped]) -> void

        def type: (RBS::Resolver::context, Types::Factory, Array[Symbol] type_vars) -> (Types::t | RBS::ParsingError | nil)

        def type?: (RBS::Resolver::context, Types::Factory, Array[Symbol] type_vars) -> Types::t?

        @type_str: String?
        def type_str: () -> String

        def type_location: () -> RBS::Location[untyped, untyped]

        def self.parse: (RBS::Location[untyped, untyped]) -> TypeAssertion?
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
steep-1.4.0 sig/steep/ast/node/type_assertion.rbs
steep-1.4.0.dev.5 sig/steep/ast/node/type_assertion.rbs
steep-1.4.0.dev.4 sig/steep/ast/node/type_assertion.rbs
steep-1.4.0.dev.3 sig/steep/ast/node/type_assertion.rbs
steep-1.3.2 sig/steep/ast/node/type_assertion.rbs
steep-1.3.1 sig/steep/ast/node/type_assertion.rbs
steep-1.4.0.dev.2 sig/steep/ast/node/type_assertion.rbs
steep-1.4.0.dev.1 sig/steep/ast/node/type_assertion.rbs
steep-1.3.0 sig/steep/ast/node/type_assertion.rbs
steep-1.3.0.pre.2 sig/steep/ast/node/type_assertion.rbs
steep-1.3.0.pre.1 sig/steep/ast/node/type_assertion.rbs