Sha256: ed8c8f483d7a53b6a4bce99881cc0d3d61dff395b7629c569712fcc6ce95f1d4

Contents?: true

Size: 509 Bytes

Versions: 63

Compression:

Stored size: 509 Bytes

Contents

%a{annotate:rdoc:skip}
module TSort[Node]
  interface _Sortable[Node]
    # #tsort_each_node is used to iterate for all nodes over a graph.
    #
    def tsort_each_node: () { (Node) -> void } -> void

    # #tsort_each_child is used to iterate for child nodes of node.
    #
    def tsort_each_child: (Node) { (Node) -> void } -> void
  end

  interface _EachNode[Node]
    def call: () { (Node) -> void } -> void
  end

  interface _EachChild[Node]
    def call: (Node) { (Node) -> void } -> void
  end
end

Version data entries

63 entries across 63 versions & 2 rubygems

Version Path
rbs-3.7.0.dev.1 stdlib/tsort/0/interfaces.rbs
rbs-3.6.1 stdlib/tsort/0/interfaces.rbs
rbs-3.6.0 stdlib/tsort/0/interfaces.rbs
rbs-3.6.0.pre.3 stdlib/tsort/0/interfaces.rbs
rbs-3.6.0.pre.2 stdlib/tsort/0/interfaces.rbs
rbs-3.6.0.pre.1 stdlib/tsort/0/interfaces.rbs
rbs-3.6.0.dev.1 stdlib/tsort/0/interfaces.rbs
rbs-3.5.3 stdlib/tsort/0/interfaces.rbs
rbs-3.5.2 stdlib/tsort/0/interfaces.rbs
rbs-3.5.1 stdlib/tsort/0/interfaces.rbs
rbs-3.5.1.pre.1 stdlib/tsort/0/interfaces.rbs
rbs-3.5.0 stdlib/tsort/0/interfaces.rbs
rbs-3.5.0.pre.2 stdlib/tsort/0/interfaces.rbs
rbs-3.5.0.pre.1 stdlib/tsort/0/interfaces.rbs
rbs-3.4.4 stdlib/tsort/0/interfaces.rbs
rbs-3.4.3 stdlib/tsort/0/interfaces.rbs
rbs-3.4.2 stdlib/tsort/0/interfaces.rbs
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/rbs-2.8.4/stdlib/tsort/0/interfaces.rbs
rbs-3.4.1 stdlib/tsort/0/interfaces.rbs
rbs-3.4.0 stdlib/tsort/0/interfaces.rbs