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.0.0.dev.1 sig/prototype/node_usage.rbs