Sha256: d19a4cfc0be1c96aa19903faaca0802029d8ccb4cd426ae9670f668d95dba0a4

Contents?: true

Size: 563 Bytes

Versions: 39

Compression:

Stored size: 563 Bytes

Contents

module RBS
  module Prototype
    module Helpers
      type node = RubyVM::AbstractSyntaxTree::Node

      def block_from_body: (node) -> Types::Block?

      def each_node: (Array[untyped] nodes) { (node) -> void } -> void

      def each_child: (node) { (node child) -> void } -> void

      def any_node?: (node, ?nodes: Array[node]) { (node) -> bool } -> Array[node]?

      def keyword_hash?: (node) -> bool

      def args_from_node: (node?) -> Array[untyped]

      def untyped: () -> Types::Bases::Any

      @untyped: Types::Bases::Any
    end
  end
end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
rbs-3.0.4 sig/prototype/helpers.rbs
rbs-3.0.3 sig/prototype/helpers.rbs
rbs-3.0.2 sig/prototype/helpers.rbs
rbs-3.0.1 sig/prototype/helpers.rbs
rbs-3.0.0 sig/prototype/helpers.rbs
rbs-3.0.0.dev.3 sig/prototype/helpers.rbs
rbs-3.0.0.dev.2 sig/prototype/helpers.rbs
rbs-2.8.4 sig/prototype/helpers.rbs
rbs-2.8.3 sig/prototype/helpers.rbs
rbs-3.0.0.dev.1 sig/prototype/helpers.rbs
rbs-2.8.2 sig/prototype/helpers.rbs
rbs-2.8.1 sig/prototype/helpers.rbs
rbs-2.8.0 sig/prototype/helpers.rbs
rbs-2.8.0.pre.1 sig/prototype/helpers.rbs
rbs-2.7.0 sig/prototype/helpers.rbs
rbs-2.7.0.pre.3 sig/prototype/helpers.rbs
rbs-2.7.0.pre.2 sig/prototype/helpers.rbs
rbs-2.7.0.pre.1 sig/prototype/helpers.rbs
rbs-2.6.0 sig/prototype/helpers.rbs