# 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