Sha256: f34e1cf42c1a02835be6a2a9733d6b33b08ee8a47ec396223c8f0bab96b62c21

Contents?: true

Size: 514 Bytes

Versions: 1

Compression:

Stored size: 514 Bytes

Contents

# frozen_string_literal: true

require "parser/ast/processor"

# Processor extensions
module Parser
  module AST
    class Processor
      unless method_defined?(:on_meth_ref)
        alias on_meth_ref process_regular_node
      end

      unless method_defined?(:on_def_e)
        alias on_def_e    on_def
        alias on_defs_e   on_defs
      end

      unless method_defined?(:on_rasgn)
        alias on_rasgn    process_regular_node
        alias on_mrasgn   process_regular_node
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-next-parser-2.8.0.5 lib/parser/ruby-next/ast/processor.rb