Sha256: 9d4811739edc2c2433a190e8960ce2339a411c492d32921ba30804a3a6ccd40f

Contents?: true

Size: 446 Bytes

Versions: 41

Compression:

Stored size: 446 Bytes

Contents

module RBS
  module Prototype
    class NodeUsage
      include Helpers
      
      type node = RubyVM::AbstractSyntaxTree::Node

      attr_reader node: node

      attr_reader conditional_nodes: Set[node]

      def initialize: (node) -> void

      def calculate: (node, conditional: bool) -> void

      def each_conditional_node: () { (node) -> void } -> void
                               | () -> Enumerator[node, void]
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
rbs-3.7.0.dev.1 sig/prototype/node_usage.rbs
rbs-3.6.1 sig/prototype/node_usage.rbs
rbs-3.6.0 sig/prototype/node_usage.rbs
rbs-3.6.0.pre.3 sig/prototype/node_usage.rbs
rbs-3.6.0.pre.2 sig/prototype/node_usage.rbs
rbs-3.6.0.pre.1 sig/prototype/node_usage.rbs
rbs-3.6.0.dev.1 sig/prototype/node_usage.rbs
rbs-3.5.3 sig/prototype/node_usage.rbs
rbs-3.5.2 sig/prototype/node_usage.rbs
rbs-3.5.1 sig/prototype/node_usage.rbs
rbs-3.5.1.pre.1 sig/prototype/node_usage.rbs
rbs-3.5.0 sig/prototype/node_usage.rbs
rbs-3.5.0.pre.2 sig/prototype/node_usage.rbs
rbs-3.5.0.pre.1 sig/prototype/node_usage.rbs
rbs-3.4.4 sig/prototype/node_usage.rbs
rbs-3.4.3 sig/prototype/node_usage.rbs
rbs-3.4.2 sig/prototype/node_usage.rbs
rbs-3.4.1 sig/prototype/node_usage.rbs
rbs-3.4.0 sig/prototype/node_usage.rbs
rbs-3.4.0.pre.1 sig/prototype/node_usage.rbs