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.4.4 sig/prototype/helpers.rbs
rbs-3.4.3 sig/prototype/helpers.rbs
rbs-3.4.2 sig/prototype/helpers.rbs
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/rbs-2.8.4/sig/prototype/helpers.rbs
rbs-3.4.1 sig/prototype/helpers.rbs
rbs-3.4.0 sig/prototype/helpers.rbs
rbs-3.4.0.pre.1 sig/prototype/helpers.rbs
rbs-3.3.2 sig/prototype/helpers.rbs
rbs-3.3.1 sig/prototype/helpers.rbs
rbs-3.3.0 sig/prototype/helpers.rbs
rbs-3.3.0.pre.2 sig/prototype/helpers.rbs
rbs-3.3.0.pre.1 sig/prototype/helpers.rbs
rbs-3.2.2 sig/prototype/helpers.rbs
rbs-3.2.1 sig/prototype/helpers.rbs
rbs-3.2.0 sig/prototype/helpers.rbs
rbs-3.2.0.pre.1 sig/prototype/helpers.rbs
rbs-3.1.3 sig/prototype/helpers.rbs
rbs-3.1.2 sig/prototype/helpers.rbs
rbs-3.1.1 sig/prototype/helpers.rbs
rbs-3.1.0 sig/prototype/helpers.rbs