Sha256: 63e5b54398fb097ddfcf266ebd07b8c6597c1b6119f447dded5b781d32c21bf9

Contents?: true

Size: 342 Bytes

Versions: 31

Compression:

Stored size: 342 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module RBI
  class Visitor
    extend T::Helpers
    extend T::Sig

    abstract!

    sig { abstract.params(node: T.nilable(Node)).void }
    def visit(node); end

    sig { params(nodes: T::Array[Node]).void }
    def visit_all(nodes)
      nodes.each { |node| visit(node) }
    end
  end
end

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
rbi-0.1.13 lib/rbi/visitor.rb
rbi-0.1.12 lib/rbi/visitor.rb
rbi-0.1.11 lib/rbi/visitor.rb
rbi-0.1.10 lib/rbi/visitor.rb
rbi-0.1.9 lib/rbi/visitor.rb
rbi-0.1.8 lib/rbi/visitor.rb
rbi-0.1.7 lib/rbi/visitor.rb
rbi-0.1.6 lib/rbi/visitor.rb
rbi-0.1.5 lib/rbi/visitor.rb
rbi-0.1.4 lib/rbi/visitor.rb
rbi-0.1.3 lib/rbi/visitor.rb
rbi-0.1.2 lib/rbi/visitor.rb
rbi-0.1.1 lib/rbi/visitor.rb
rbi-0.1.0 lib/rbi/visitor.rb
rbi-0.0.17 lib/rbi/visitor.rb
devcycle-ruby-server-sdk-2.0.0 vendor/bundle/ruby/3.0.0/gems/rbi-0.0.16/lib/rbi/visitor.rb
rbi-0.0.16 lib/rbi/visitor.rb
rbi-0.0.15 lib/rbi/visitor.rb
rbi-0.0.14 lib/rbi/visitor.rb
rbi-0.0.13 lib/rbi/visitor.rb